jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r757236 - /jakarta/bsf/trunk/bsf3/bsf-api/src/main/java/javax/script/SimpleScriptContext.java
Date Sun, 22 Mar 2009 19:01:52 GMT
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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org


Mime
View raw message