mirror of
https://github.com/Tichau/FileConverter.git
synced 2026-11-20 17:42:20 +01:00
Stylecop
This commit is contained in:
1 parent
6a1dc7a847
commit
7674071fce
5 files changed
+4
-8
No files matched your search
@@ -6,8 +6,6 @@ namespace FileConverter.ConversionJobs
|
||||
{
|
||||
public static ConversionJob Create(ConversionPreset conversionPreset, string inputFilePath)
|
||||
{
|
||||
ConversionJob conversionJob = null;
|
||||
|
||||
string extension = System.IO.Path.GetExtension(inputFilePath);
|
||||
extension = extension.ToLowerInvariant().Substring(1, extension.Length - 1);
|
||||
if (extension == "cda")
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// <copyright file="ConversionJob_ImageMagick.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
|
||||
|
||||
using FileConverter.Diagnostics;
|
||||
|
||||
namespace FileConverter.ConversionJobs
|
||||
{
|
||||
using System;
|
||||
|
||||
using FileConverter.Diagnostics;
|
||||
using ImageMagick;
|
||||
|
||||
public class ConversionJob_ImageMagick : ConversionJob
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// <copyright file="Debug.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
|
||||
|
||||
|
||||
namespace FileConverter.Diagnostics
|
||||
{
|
||||
using System;
|
||||
|
||||
@@ -197,7 +197,7 @@ namespace FileConverter
|
||||
|
||||
public static class Keys
|
||||
{
|
||||
public static string LastUpdateCheckDate = "LastUpdateCheckDate";
|
||||
public static readonly string LastUpdateCheckDate = "LastUpdateCheckDate";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -171,8 +171,7 @@ namespace FileConverter
|
||||
|
||||
if (userSettings != null && userSettings.SerializationVersion != Version)
|
||||
{
|
||||
Diagnostics.Debug.Log("File converter settings has been imported from version {0} to version {1}.",
|
||||
userSettings.SerializationVersion, Version);
|
||||
Diagnostics.Debug.Log("File converter settings has been imported from version {0} to version {1}.", userSettings.SerializationVersion, Version);
|
||||
userSettings.SerializationVersion = Version;
|
||||
userSettings.Save();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user