mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-26 08:49:49 +00:00
minor fixes
This commit is contained in:
parent
5a7383183a
commit
374050d9bc
@ -41,6 +41,7 @@ public class CPMDisk extends AbstractFormattedDisk
|
||||
|
||||
setEmptyByte ((byte) 0xE5);
|
||||
|
||||
// search for the version string
|
||||
for (int i = 8; i >= 4; i -= 2)
|
||||
{
|
||||
byte[] buffer = disk.readSector (0, i);
|
||||
|
@ -49,7 +49,7 @@ public class DiskFactory
|
||||
Boolean compressed = false;
|
||||
Path originalPath = Paths.get (path);
|
||||
|
||||
if (suffix.equals ("gz"))
|
||||
if ("gz".equals (suffix))
|
||||
{
|
||||
if (debug)
|
||||
System.out.println (" ** gzip **");
|
||||
@ -78,7 +78,7 @@ public class DiskFactory
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else if (suffix.equals ("zip"))
|
||||
else if ("zip".equals (suffix))
|
||||
{
|
||||
if (debug)
|
||||
System.out.println (" ** zip **");
|
||||
|
Loading…
Reference in New Issue
Block a user