Merged Disk and FormattedDisk. Moved constants to DiskConstants class.

This commit is contained in:
Rob Greene
2025-08-23 19:20:04 -05:00
parent a194d79b20
commit 2a404079bd
49 changed files with 564 additions and 576 deletions
@@ -225,7 +225,7 @@ public class AntTask extends Task
{
try
{
com.webcodepro.applecommander.ui.ac.createDosDisk(_imageName, Disk.APPLE_140KB_DISK);
com.webcodepro.applecommander.ui.ac.createDosDisk(_imageName, DiskConstants.APPLE_140KB_DISK);
}
catch (IOException io)
{
@@ -240,9 +240,9 @@ public class AntTask extends Task
try
{
if (_command.equals("pro800"))
com.webcodepro.applecommander.ui.ac.createProDisk(_imageName, _volName, Disk.APPLE_800KB_DISK);
com.webcodepro.applecommander.ui.ac.createProDisk(_imageName, _volName, DiskConstants.APPLE_800KB_DISK);
else
com.webcodepro.applecommander.ui.ac.createProDisk(_imageName, _volName, Disk.APPLE_140KB_DISK);
com.webcodepro.applecommander.ui.ac.createProDisk(_imageName, _volName, DiskConstants.APPLE_140KB_DISK);
}
catch (IOException io)
{
@@ -257,9 +257,9 @@ public class AntTask extends Task
try
{
if (_command.equals("pas800"))
com.webcodepro.applecommander.ui.ac.createPasDisk(_imageName, _volName, Disk.APPLE_800KB_DISK);
com.webcodepro.applecommander.ui.ac.createPasDisk(_imageName, _volName, DiskConstants.APPLE_800KB_DISK);
else
com.webcodepro.applecommander.ui.ac.createPasDisk(_imageName, _volName, Disk.APPLE_140KB_DISK);
com.webcodepro.applecommander.ui.ac.createPasDisk(_imageName, _volName, DiskConstants.APPLE_140KB_DISK);
}
catch (IOException io)
{