Skip to content

Commit 2c18e26

Browse files
committed
Update JobCollection.java
1 parent 7adbaba commit 2c18e26

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

splunk/src/main/java/com/splunk/JobCollection.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)