Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed two casts to allow it to compile on AIDE

  • Loading branch information...
commit 818814ac6294ae020bb2fb249c3985bd845deeee 1 parent 19670e3
Scott Moyer rscottm authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/ruboto/Script.java
4 src/org/ruboto/Script.java
View
@@ -340,7 +340,7 @@ private static void setLoadPath(List<String> loadPath) {
}
private static List<String> getLoadPath() {
- return callScriptingContainerMethod(List.class, "getLoadPaths");
+ return (List<String>)callScriptingContainerMethod(List.class, "getLoadPaths");
}
public static Boolean configDir(String scriptsDir) {
@@ -499,7 +499,7 @@ public String getContents() throws IOException {
*/
public static String getScriptFilename() {
- return callScriptingContainerMethod(String.class, "getScriptFilename");
+ return (String)callScriptingContainerMethod(String.class, "getScriptFilename");
}
public static void setScriptFilename(String name) {
Please sign in to comment.
Something went wrong with that request. Please try again.