Remove generics

This commit is contained in:
James Roseborough
2010-12-03 01:43:24 +00:00
parent 31f6ffde88
commit 79debeb11e

View File

@@ -221,8 +221,8 @@ public class LuaScriptEngine implements ScriptEngine, Compilable {
this.copyBindingsToGlobals();
}
public void copyBindingsToGlobals() {
for ( Iterator<String> i = b.keySet().iterator(); i.hasNext(); ) {
String key = i.next();
for ( Iterator i = b.keySet().iterator(); i.hasNext(); ) {
String key = (String) i.next();
Object val = b.get(key);
LuaValue luakey = toLua(key);
LuaValue luaval = toLua(val);