|
From: <chr...@us...> - 2009-05-12 03:07:41
|
Revision: 5484
http://jnode.svn.sourceforge.net/jnode/?rev=5484&view=rev
Author: chrisboertien
Date: 2009-05-12 03:07:33 +0000 (Tue, 12 May 2009)
Log Message:
-----------
compile fix
Signed-off-by: chrisboertien <chr...@gm...>
Modified Paths:
--------------
trunk/shell/src/shell/org/jnode/shell/syntax/ArgumentSpecLoader.java
trunk/shell/src/test/org/jnode/test/shell/syntax/TestSyntaxManager.java
Modified: trunk/shell/src/shell/org/jnode/shell/syntax/ArgumentSpecLoader.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/syntax/ArgumentSpecLoader.java 2009-05-12 01:01:18 UTC (rev 5483)
+++ trunk/shell/src/shell/org/jnode/shell/syntax/ArgumentSpecLoader.java 2009-05-12 03:07:33 UTC (rev 5484)
@@ -207,7 +207,7 @@
}
}
- static class ArgumentSpec<T extends Argument<?>> {
+ public static class ArgumentSpec<T extends Argument<?>> {
private Constructor<T> ctor;
private Object[] params;
Modified: trunk/shell/src/test/org/jnode/test/shell/syntax/TestSyntaxManager.java
===================================================================
--- trunk/shell/src/test/org/jnode/test/shell/syntax/TestSyntaxManager.java 2009-05-12 01:01:18 UTC (rev 5483)
+++ trunk/shell/src/test/org/jnode/test/shell/syntax/TestSyntaxManager.java 2009-05-12 03:07:33 UTC (rev 5484)
@@ -23,6 +23,8 @@
import java.util.Collection;
import java.util.HashMap;
+import org.jnode.shell.syntax.ArgumentBundle;
+import org.jnode.shell.syntax.ArgumentSpecLoader.ArgumentSpec;
import org.jnode.shell.syntax.SyntaxBundle;
import org.jnode.shell.syntax.SyntaxManager;
@@ -36,7 +38,11 @@
public void add(SyntaxBundle bundle) {
syntaxes.put(bundle.getAlias(), bundle);
}
-
+
+ public void add(String alias, ArgumentSpec[] args) {
+ return;
+ }
+
public SyntaxBundle remove(String alias) {
return syntaxes.remove(alias);
}
@@ -44,6 +50,10 @@
public SyntaxBundle getSyntaxBundle(String alias) {
return syntaxes.get(alias);
}
+
+ public ArgumentBundle getArgumentBundle(String alias) {
+ return null;
+ }
public SyntaxManager createSyntaxManager() {
return new TestSyntaxManager();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|