REFACTOR: Reformat code.

This commit is contained in:
2017-12-19 20:33:03 +00:00
parent 77edc7c91c
commit e6f6ace80b
704 changed files with 82627 additions and 83641 deletions

View File

@@ -36,27 +36,20 @@ namespace DiscImageChef
{
public static bool ArrayIsNullOrWhiteSpace(byte[] array)
{
if(array == null)
return true;
if(array == null) return true;
foreach(byte b in array)
if(b != 0x00 && b != 0x20)
return false;
foreach(byte b in array) if(b != 0x00 && b != 0x20) return false;
return true;
}
public static bool ArrayIsNullOrEmpty(byte[] array)
{
if(array == null)
return true;
if(array == null) return true;
foreach(byte b in array)
if(b != 0x00)
return false;
foreach(byte b in array) if(b != 0x00) return false;
return true;
}
}
}
}