File tree Expand file tree Collapse file tree
jbock/src/main/java/net/jbock/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,18 +24,6 @@ public SuperResult(S superCommand, List<String> rest) {
2424 this .rest = rest ;
2525 }
2626
27- /**
28- * Returns the command instance.
29- *
30- * @return an instance of the SuperCommand type
31- *
32- * @deprecated use {@link #getCommand()}
33- */
34- @ Deprecated (forRemoval = true )
35- public S result () {
36- return superCommand ;
37- }
38-
3927 /**
4028 * Returns the command instance.
4129 *
@@ -50,12 +38,9 @@ public S getCommand() {
5038 * Returns the remaining tokens, after the SuperCommand's last parameter.
5139 *
5240 * @return remaining tokens, suitable for further parsing
53- *
54- * @deprecated use {@link #getRest()} instead
5541 */
56- @ Deprecated (forRemoval = true )
57- public String [] rest () {
58- return rest .toArray (new String [0 ]);
42+ public List <String > rest () {
43+ return rest ;
5944 }
6045
6146 /**
You can’t perform that action at this time.
0 commit comments