mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-06-10 04:29:29 +00:00
15 lines
359 B
Java
15 lines
359 B
Java
|
package io.github.applecommander.acx.base;
|
||
|
|
||
|
public abstract class ReadWriteDiskCommandOptions extends ReadOnlyDiskImageCommandOptions {
|
||
|
@Override
|
||
|
public Integer call() throws Exception {
|
||
|
int returnCode = handleCommand();
|
||
|
|
||
|
if (returnCode == 0) {
|
||
|
saveDisk(disk);
|
||
|
}
|
||
|
|
||
|
return returnCode;
|
||
|
}
|
||
|
}
|