@@ -27,15 +27,15 @@ public class JobCollection extends EntityCollection<Job> {
27
27
static String oneShotNotAllowed = String .format (
28
28
"Oneshot not allowed, use service oneshot search method" );
29
29
static final String REST_PATH = "search/jobs" ;
30
- // static final String REST_PATH_V2 = "search/v2/jobs";
30
+ // static final String REST_PATH_V2 = "search/v2/jobs";
31
31
/**
32
32
* Class constructor.
33
33
*
34
34
* @param service The connected {@code Service} instance.
35
35
*/
36
36
JobCollection (Service service ) {
37
37
super (service , REST_PATH , Job .class );
38
- // super(service, service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH, Job.class);
38
+ // super(service, service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH, Job.class);
39
39
this .refreshArgs .put ("count" , "0" );
40
40
}
41
41
@@ -48,7 +48,7 @@ public class JobCollection extends EntityCollection<Job> {
48
48
*/
49
49
JobCollection (Service service , Args args ) {
50
50
super (service , REST_PATH , Job .class );
51
- // super(service, service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH, Job.class, args);
51
+ // super(service, service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH, Job.class, args);
52
52
this .refreshArgs .put ("count" , "0" );
53
53
}
54
54
@@ -90,8 +90,8 @@ public Job create(String query, Map args) {
90
90
.getTextContent ();
91
91
92
92
Job job = new Job (service , REST_PATH + "/" + sid );
93
- // String path = service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH;
94
- // Job job = new Job(service, path + "/" + sid);
93
+ // String path = service.versionIsAtLeast("9.0") ? REST_PATH_V2 : REST_PATH;
94
+ // Job job = new Job(service, path + "/" + sid);
95
95
job .refresh ();
96
96
97
97
return job ;
0 commit comments