From: <ans...@us...> - 2007-01-16 23:13:27
|
Revision: 3077 http://jnode.svn.sourceforge.net/jnode/?rev=3077&view=rev Author: ansari82 Date: 2007-01-16 15:13:24 -0800 (Tue, 16 Jan 2007) Log Message: ----------- Fixed spelling Modified Paths: -------------- branches/jikesRVM/core/src/core/org/jnode/boot/Main.java Modified: branches/jikesRVM/core/src/core/org/jnode/boot/Main.java =================================================================== --- branches/jikesRVM/core/src/core/org/jnode/boot/Main.java 2007-01-15 13:33:17 UTC (rev 3076) +++ branches/jikesRVM/core/src/core/org/jnode/boot/Main.java 2007-01-16 23:13:24 UTC (rev 3077) @@ -91,9 +91,9 @@ final Method mainMethod = mainClass.getMethod("main", new Class[]{ String[].class}); mainMethod.invoke(null, new Object[]{proc.getMainClassArguments()}); } catch(NoSuchMethodException x) { - final Object insatnce = mainClass.newInstance(); - if(insatnce instanceof Runnable){ - ((Runnable) insatnce).run(); + final Object instance = mainClass.newInstance(); + if(instance instanceof Runnable){ + ((Runnable) instance).run(); } else { BootLog.warn("No valid Main-Class found"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |