Correct typos

This commit is contained in:
James Roseborough
2010-07-30 17:47:26 +00:00
parent 9f5526202a
commit 6ca90b180a
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ package org.luaj.vm2;
/** /**
* Constants for lua limits and opcodes * Constants for lua limits and opcodes
* @deprecatd these will all move to LuaC or LoadState or DumpState * @deprecated these will all move to LuaC or LoadState or DumpState
*/ */
public class Lua { public class Lua {
/** version is supplied by ant build task */ /** version is supplied by ant build task */

View File

@@ -556,12 +556,12 @@ public class LuaTable extends LuaValue {
array[j] = a; array[j] = a;
} }
/** @deprecate - count via iteration instead */ /** @deprecated - count via iteration instead */
public int keyCount() { public int keyCount() {
return keys().length; return keys().length;
} }
/** @deprecate - use next() instead */ /** @deprecated - use next() instead */
public LuaValue[] keys() { public LuaValue[] keys() {
Vector l = new Vector(); Vector l = new Vector();
LuaValue k = LuaValue.NIL; LuaValue k = LuaValue.NIL;