File tree Expand file tree Collapse file tree
core/src/main/java/net/jbock/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import java .util .ArrayList ;
88import java .util .Iterator ;
99import java .util .List ;
10- import java .util .Optional ;
1110
1211import static io .jbock .util .Either .left ;
1312import static io .jbock .util .Either .right ;
@@ -23,16 +22,6 @@ final class ParseRequestExpand extends ParseRequest {
2322 this .args = args ;
2423 }
2524
26- @ Override
27- public Optional <Path > path () {
28- return Optional .of (path );
29- }
30-
31- @ Override
32- public List <String > args () {
33- return args ;
34- }
35-
3625 @ Override
3726 public Either <? extends AtFileError , List <String >> expand () {
3827 try {
Original file line number Diff line number Diff line change 22
33import io .jbock .util .Either ;
44
5- import java .nio .file .Path ;
65import java .util .List ;
7- import java .util .Optional ;
86
97import static io .jbock .util .Either .right ;
108
@@ -16,16 +14,6 @@ final class ParseRequestSimple extends ParseRequest {
1614 this .args = args ;
1715 }
1816
19- @ Override
20- public Optional <Path > path () {
21- return Optional .empty ();
22- }
23-
24- @ Override
25- public List <String > args () {
26- return args ;
27- }
28-
2917 @ Override
3018 public Either <? extends AtFileError , List <String >> expand () {
3119 return right (args );
You can’t perform that action at this time.
0 commit comments