Permalink
Browse files

Fixed two casts to allow it to compile on AIDE

  • Loading branch information...
1 parent 19670e3 commit 818814ac6294ae020bb2fb249c3985bd845deeee @rscottm rscottm committed Apr 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/ruboto/Script.java
View
4 src/org/ruboto/Script.java
@@ -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) {

0 comments on commit 818814a

Please sign in to comment.