Browse Source

Remove trailing lines and commas

af/merge-core
Jason Nelson 8 years ago
parent
commit
29a76e8819
  1. 4
      src/ImageSharp/Formats/Bmp/BmpBitsPerPixel.cs
  2. 2
      src/ImageSharp/Formats/Bmp/BmpCompression.cs
  3. 2
      src/ImageSharp/Formats/Bmp/BmpConstants.cs
  4. 4
      src/ImageSharp/Formats/Bmp/BmpEncoder.cs
  5. 5
      src/ImageSharp/MetaData/Profiles/Exif/ExifValue.cs

4
src/ImageSharp/Formats/Bmp/BmpBitsPerPixel.cs

@ -16,6 +16,6 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// <summary> /// <summary>
/// 32 bits per pixel. Each pixel consists of 4 bytes. /// 32 bits per pixel. Each pixel consists of 4 bytes.
/// </summary> /// </summary>
Pixel32 = 4, Pixel32 = 4
} }
} }

2
src/ImageSharp/Formats/Bmp/BmpCompression.cs

@ -58,4 +58,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// </summary> /// </summary>
PNG = 5 PNG = 5
} }
} }

2
src/ImageSharp/Formats/Bmp/BmpConstants.cs

@ -20,4 +20,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// </summary> /// </summary>
public static readonly IEnumerable<string> FileExtensions = new[] { "bm", "bmp", "dip" }; public static readonly IEnumerable<string> FileExtensions = new[] { "bm", "bmp", "dip" };
} }
} }

4
src/ImageSharp/Formats/Bmp/BmpEncoder.cs

@ -1,8 +1,6 @@
// Copyright (c) Six Labors and contributors. // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.IO; using System.IO;
using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
@ -28,4 +26,4 @@ namespace SixLabors.ImageSharp.Formats.Bmp
encoder.Encode(image, stream); encoder.Encode(image, stream);
} }
} }
} }

5
src/ImageSharp/MetaData/Profiles/Exif/ExifValue.cs

@ -26,7 +26,6 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
this.DataType = other.DataType; this.DataType = other.DataType;
this.IsArray = other.IsArray; this.IsArray = other.IsArray;
this.Tag = other.Tag; this.Tag = other.Tag;
if (!other.IsArray) if (!other.IsArray)
{ {
@ -52,7 +51,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
this.DataType = dataType; this.DataType = dataType;
this.IsArray = isArray && dataType != ExifDataType.Ascii; this.IsArray = isArray && dataType != ExifDataType.Ascii;
this.Value = value; this.Value = value;
// this.CheckValue(value); // this.CheckValue(value);
} }
@ -144,7 +143,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif
public ExifValue WithValue(object value) public ExifValue WithValue(object value)
{ {
this.CheckValue(value); this.CheckValue(value);
return new ExifValue(this.Tag, this.DataType, value, this.IsArray); return new ExifValue(this.Tag, this.DataType, value, this.IsArray);
} }

Loading…
Cancel
Save