Author: antelder
Date: Sun Mar 22 19:01:52 2009
New Revision: 757236

URL: http://svn.apache.org/viewvc?rev=757236&view=rev
Log:
Update to more sensible int to Integer conversion

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=757236&r1=757235&r2=757236&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 19:01:52 2009
@@ -43,7 +43,7 @@
 
        private Writer errorWriter;
 
-       private static final List SCOPES = Arrays.asList(new Integer[] { 
Integer.valueOf(Integer.toString(ENGINE_SCOPE)), 
Integer.valueOf(Integer.toString(GLOBAL_SCOPE)) });
+       private static final List SCOPES = Arrays.asList(new Integer[] { new 
Integer(ENGINE_SCOPE), new Integer(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

Reply via email to