mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: All refactor in DiscImageChef.Filters.
This commit is contained in:
@@ -51,7 +51,7 @@ namespace DiscImageChef.Filters
|
||||
|
||||
public override void Close()
|
||||
{
|
||||
if(dataStream != null) dataStream.Close();
|
||||
dataStream?.Close();
|
||||
dataStream = null;
|
||||
basePath = null;
|
||||
opened = false;
|
||||
@@ -153,7 +153,7 @@ namespace DiscImageChef.Filters
|
||||
|
||||
public override string GetFilename()
|
||||
{
|
||||
return basePath != null ? Path.GetFileName(basePath) : null;
|
||||
return Path.GetFileName(basePath);
|
||||
}
|
||||
|
||||
public override string GetParentFolder()
|
||||
|
||||
Reference in New Issue
Block a user