projects
/
org.ibex.js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed Script to JSU
[org.ibex.js.git]
/
src
/
org
/
ibex
/
js
/
JSScope.java
diff --git
a/src/org/ibex/js/JSScope.java
b/src/org/ibex/js/JSScope.java
index
5bd3a76
..
52dafe1
100644
(file)
--- a/
src/org/ibex/js/JSScope.java
+++ b/
src/org/ibex/js/JSScope.java
@@
-30,7
+30,7
@@
class JSScope {
final JS get(JS i) throws JSExn {
if(i==null) throw new NullPointerException();
try {
final JS get(JS i) throws JSExn {
if(i==null) throw new NullPointerException();
try {
- return get(Script.toInt(i));
+ return get(JSU.toInt(i));
} catch(ArrayIndexOutOfBoundsException e) {
throw new JSExn("scope index out of range");
}
} catch(ArrayIndexOutOfBoundsException e) {
throw new JSExn("scope index out of range");
}
@@
-38,7
+38,7
@@
class JSScope {
final void put(JS i, JS o) throws JSExn {
if(i==null) throw new NullPointerException();
try {
final void put(JS i, JS o) throws JSExn {
if(i==null) throw new NullPointerException();
try {
- put(Script.toInt(i), o);
+ put(JSU.toInt(i), o);
} catch(ArrayIndexOutOfBoundsException e) {
throw new JSExn("scope index out of range");
}
} catch(ArrayIndexOutOfBoundsException e) {
throw new JSExn("scope index out of range");
}