From 615f3ca083cdc5e14c5ea21ff5ebc960c12c3ca3 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Sat, 15 Jul 2017 09:39:48 +0100 Subject: [PATCH] fix some comments --- src/ImageSharp/ApplyProcessors.cs | 2 +- src/ImageSharp/IImageProcessorApplicatorFactory.cs | 2 +- src/ImageSharp/Image/ImageExtensions.cs | 2 +- src/ImageSharp/Image/Image{TPixel}.cs | 7 +------ 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/ImageSharp/ApplyProcessors.cs b/src/ImageSharp/ApplyProcessors.cs index 78a5fc079..c0a7f20df 100644 --- a/src/ImageSharp/ApplyProcessors.cs +++ b/src/ImageSharp/ApplyProcessors.cs @@ -1,4 +1,4 @@ -// +// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // diff --git a/src/ImageSharp/IImageProcessorApplicatorFactory.cs b/src/ImageSharp/IImageProcessorApplicatorFactory.cs index b79353ef5..e07b1a752 100644 --- a/src/ImageSharp/IImageProcessorApplicatorFactory.cs +++ b/src/ImageSharp/IImageProcessorApplicatorFactory.cs @@ -1,4 +1,4 @@ -// +// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // diff --git a/src/ImageSharp/Image/ImageExtensions.cs b/src/ImageSharp/Image/ImageExtensions.cs index 9c2575a86..6095b49e3 100644 --- a/src/ImageSharp/Image/ImageExtensions.cs +++ b/src/ImageSharp/Image/ImageExtensions.cs @@ -1,4 +1,4 @@ -// +// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // diff --git a/src/ImageSharp/Image/Image{TPixel}.cs b/src/ImageSharp/Image/Image{TPixel}.cs index ae89b777c..70e0a8349 100644 --- a/src/ImageSharp/Image/Image{TPixel}.cs +++ b/src/ImageSharp/Image/Image{TPixel}.cs @@ -114,17 +114,12 @@ namespace ImageSharp /// The stream to save the image to. /// The encoder to save the image with. /// Thrown if the stream or encoder is null. - /// - /// The . - /// - public Image Save(Stream stream, IImageEncoder encoder) + public void Save(Stream stream, IImageEncoder encoder) { Guard.NotNull(stream, nameof(stream)); Guard.NotNull(encoder, nameof(encoder)); encoder.Encode(this, stream); - - return this; } ///