|
From: <cr...@us...> - 2008-08-16 14:25:18
|
Revision: 4452
http://jnode.svn.sourceforge.net/jnode/?rev=4452&view=rev
Author: crawley
Date: 2008-08-16 14:25:15 +0000 (Sat, 16 Aug 2008)
Log Message:
-----------
Add annotations for uses of deprecated help.argument classes
Modified Paths:
--------------
trunk/shell/src/shell/org/jnode/shell/CommandLine.java
trunk/shell/src/shell/org/jnode/shell/help/Syntax.java
trunk/shell/src/test/org/jnode/test/shell/MyCatCommand.java
trunk/shell/src/test/org/jnode/test/shell/MyDirCommand.java
Modified: trunk/shell/src/shell/org/jnode/shell/CommandLine.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/CommandLine.java 2008-08-16 14:23:17 UTC (rev 4451)
+++ trunk/shell/src/shell/org/jnode/shell/CommandLine.java 2008-08-16 14:25:15 UTC (rev 4452)
@@ -43,6 +43,7 @@
*
* @author cr...@jn...
*/
+@SuppressWarnings("deprecation")
public class CommandLine implements Completable, Iterable<String> {
public static final Closeable DEFAULT_STDIN = new StreamMarker("STDIN");
@@ -92,6 +93,7 @@
private static final String[] NO_ARGS = new String[0];
private static final Token[] NO_TOKENS = new Token[0];
+ @SuppressWarnings("deprecation")
private final Help.Info defaultInfo = new Help.Info("file",
"default parameter for command line completion",
new Parameter(
Modified: trunk/shell/src/shell/org/jnode/shell/help/Syntax.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/help/Syntax.java 2008-08-16 14:23:17 UTC (rev 4451)
+++ trunk/shell/src/shell/org/jnode/shell/help/Syntax.java 2008-08-16 14:25:15 UTC (rev 4452)
@@ -35,6 +35,7 @@
* @author qades
* @author cr...@jn...
*/
+@SuppressWarnings("deprecation")
public class Syntax {
public static final boolean DEBUG = false;
Modified: trunk/shell/src/test/org/jnode/test/shell/MyCatCommand.java
===================================================================
--- trunk/shell/src/test/org/jnode/test/shell/MyCatCommand.java 2008-08-16 14:23:17 UTC (rev 4451)
+++ trunk/shell/src/test/org/jnode/test/shell/MyCatCommand.java 2008-08-16 14:25:15 UTC (rev 4452)
@@ -34,6 +34,7 @@
/**
* Cut down test class
*/
+@SuppressWarnings("deprecation")
public class MyCatCommand extends AbstractCommand {
static final FileArgument ARG_FILE = new FileArgument("file",
Modified: trunk/shell/src/test/org/jnode/test/shell/MyDirCommand.java
===================================================================
--- trunk/shell/src/test/org/jnode/test/shell/MyDirCommand.java 2008-08-16 14:23:17 UTC (rev 4451)
+++ trunk/shell/src/test/org/jnode/test/shell/MyDirCommand.java 2008-08-16 14:25:15 UTC (rev 4452)
@@ -32,6 +32,7 @@
/**
* Cut down test class ... dir done the old way
*/
+@SuppressWarnings("deprecation")
public class MyDirCommand extends AbstractCommand {
static final FileArgument ARG_PATH = new FileArgument("path", "the path to list contents of");
public static Help.Info HELP_INFO =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|