ref: 5f367957db24fa3924858e1c3427c70b4d3bc637
parent: f870469a63937f1098b42ad4e07450cab107b6d2
author: mkf <mkf@d510>
date: Mon May 29 22:24:27 EDT 2023
fix build on jdk17
--- a/Main.java
+++ b/Main.java
@@ -172,7 +172,6 @@
/* handles result of Take/IO/Del Funcations */
void Result(TakeErr res);
void Result(DelErr res);
- void Result(IOErr res);
}
}
@@ -1777,24 +1776,6 @@
break;
default:
throw new IllegalStateException("Invalid DelErr");
- }
- }
-
- public void Result(IOErr res)
- {
- switch(res)
- {
- case NotAFile:
- System.err.println("Not a File");
- break;
- case PermissionDenied:
- System.err.println("Permission denied");
- break;
- case Ok:
- System.out.println("Done!");
- break;
- default:
- throw new IllegalStateException("Invalid TakeErr");
}
}