Rename Globals.FINDER to Globals.finder.

This commit is contained in:
James Roseborough
2014-03-09 18:00:40 +00:00
parent e9ee95fd58
commit a6105d5f62
10 changed files with 20 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ import org.luaj.vm2.lib.jse.JsePlatform;
import org.luaj.vm2.luajc.LuaJC;
public class TestLuaJC {
// This file will be loaded using the FINDER as a resource, provided it is in the
// This file will be loaded using the finder as a resource, provided it is in the
// build path. This allows the debugger to find the file when stepping into the function.
public static String filename = "perf/nsieve.lua";
@@ -79,7 +79,7 @@ public class TestLuaJC {
// create the chunk
String destdir = ".";
InputStream is = globals.FINDER.findResource(filename);
InputStream is = globals.finder.findResource(filename);
Hashtable t = LuaJC.instance.compileAll(is, filename, filename, globals, true);
// write out the chunk

View File

@@ -76,7 +76,7 @@ public class ScriptDrivenTest extends TestCase implements ResourceFinder {
protected void setUp() throws Exception {
super.setUp();
initGlobals();
globals.FINDER = this;
globals.finder = this;
}
// ResourceFinder implementation.