File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
src/main/java/org/scijava/console Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,7 @@ public boolean supports(final LinkedList<String> args) {
7070 return isFlag (args );
7171 }
7272
73- @ Override
74- @ SuppressWarnings ({ "rawtypes" , "unchecked" })
75- public Class <LinkedList <String >> getType () {
76- return (Class ) String .class ;
77- }
73+ // -- Internal methods --
7874
7975 /**
8076 * Check if the given list of arguments starts with a flag that matches this
Original file line number Diff line number Diff line change @@ -54,4 +54,11 @@ public interface ConsoleArgument extends HandlerPlugin<LinkedList<String>> {
5454 /** Handles the <em>front</em> of the given list of arguments. */
5555 void handle (final LinkedList <String > args );
5656
57+ // -- Typed methods --
58+
59+ @ Override
60+ @ SuppressWarnings ({ "rawtypes" , "unchecked" })
61+ default Class <LinkedList <String >> getType () {
62+ return (Class ) String .class ;
63+ }
5764}
You can’t perform that action at this time.
0 commit comments