diff --git a/Application/FileConverter/ConversionJobs/ConversionJobFactory.cs b/Application/FileConverter/ConversionJobs/ConversionJobFactory.cs
index 8044751..6487167 100644
--- a/Application/FileConverter/ConversionJobs/ConversionJobFactory.cs
+++ b/Application/FileConverter/ConversionJobs/ConversionJobFactory.cs
@@ -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")
diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_ImageMagick.cs b/Application/FileConverter/ConversionJobs/ConversionJob_ImageMagick.cs
index 5aeb30d..91b12ce 100644
--- a/Application/FileConverter/ConversionJobs/ConversionJob_ImageMagick.cs
+++ b/Application/FileConverter/ConversionJobs/ConversionJob_ImageMagick.cs
@@ -1,10 +1,10 @@
// License: http://www.gnu.org/licenses/gpl.html GPL version 3.
-using FileConverter.Diagnostics;
-
namespace FileConverter.ConversionJobs
{
using System;
+
+ using FileConverter.Diagnostics;
using ImageMagick;
public class ConversionJob_ImageMagick : ConversionJob
diff --git a/Application/FileConverter/Diagnostics/Debug.cs b/Application/FileConverter/Diagnostics/Debug.cs
index 779cab6..396fe78 100644
--- a/Application/FileConverter/Diagnostics/Debug.cs
+++ b/Application/FileConverter/Diagnostics/Debug.cs
@@ -1,6 +1,5 @@
// License: http://www.gnu.org/licenses/gpl.html GPL version 3.
-
namespace FileConverter.Diagnostics
{
using System;
diff --git a/Application/FileConverter/Registry.cs b/Application/FileConverter/Registry.cs
index b2fbd3b..85d4a64 100644
--- a/Application/FileConverter/Registry.cs
+++ b/Application/FileConverter/Registry.cs
@@ -197,7 +197,7 @@ namespace FileConverter
public static class Keys
{
- public static string LastUpdateCheckDate = "LastUpdateCheckDate";
+ public static readonly string LastUpdateCheckDate = "LastUpdateCheckDate";
}
}
}
diff --git a/Application/FileConverter/Settings.cs b/Application/FileConverter/Settings.cs
index 174a7ad..d044b57 100644
--- a/Application/FileConverter/Settings.cs
+++ b/Application/FileConverter/Settings.cs
@@ -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();
}