REFACTOR: All refactor in DiscImageChef.Filters.

This commit is contained in:
2017-12-22 16:17:40 +00:00
parent c59e424ec8
commit af478a92d1
13 changed files with 68 additions and 106 deletions

View File

@@ -157,7 +157,7 @@ namespace DiscImageChef.Filters
public override void Close()
{
bytes = null;
if(stream != null) stream.Close();
stream?.Close();
isBytes = false;
isStream = false;
isPath = false;
@@ -194,7 +194,7 @@ namespace DiscImageChef.Filters
public override string GetFilename()
{
return basePath != null ? Path.GetFileName(basePath) : null;
return Path.GetFileName(basePath);
}
public override DateTime GetLastWriteTime()