Author: antelder Date: Sun Mar 22 09:33:03 2009 New Revision: 757155 URL: http://svn.apache.org/viewvc?rev=757155&view=rev Log: Update to not use Java5 specific methods
Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java Modified: jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java URL: http://svn.apache.org/viewvc/jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java?rev=757155&r1=757154&r2=757155&view=diff ============================================================================== --- jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java (original) +++ jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java Sun Mar 22 09:33:03 2009 @@ -43,7 +43,7 @@ private Writer errorWriter; - private static final List SCOPES = Arrays.asList(new Integer[] { Integer.valueOf(ENGINE_SCOPE), Integer.valueOf(GLOBAL_SCOPE) }); + private static final List SCOPES = Arrays.asList(new Integer[] { Integer.valueOf(Integer.toString(ENGINE_SCOPE)), Integer.valueOf(Integer.toString(GLOBAL_SCOPE)) }); public SimpleScriptContext() { reader = new InputStreamReader(System.in); --------------------------------------------------------------------- To unsubscribe, e-mail: bsf-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: bsf-dev-h...@jakarta.apache.org