@@ -27,15 +27,15 @@ public class JobCollection extends EntityCollection<Job> {
2727 static String oneShotNotAllowed = String .format (
2828 "Oneshot not allowed, use service oneshot search method" );
2929 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";
3131 /**
3232 * Class constructor.
3333 *
3434 * @param service The connected {@code Service} instance.
3535 */
3636 JobCollection (Service service ) {
3737 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);
3939 this .refreshArgs .put ("count" , "0" );
4040 }
4141
@@ -48,7 +48,7 @@ public class JobCollection extends EntityCollection<Job> {
4848 */
4949 JobCollection (Service service , Args args ) {
5050 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);
5252 this .refreshArgs .put ("count" , "0" );
5353 }
5454
@@ -90,8 +90,8 @@ public Job create(String query, Map args) {
9090 .getTextContent ();
9191
9292 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);
9595 job .refresh ();
9696
9797 return job ;
0 commit comments