Skip to content

Commit b505106

Browse files
committed
fmt
1 parent d9ab27c commit b505106

File tree

1 file changed

+6
-3
lines changed
  • databricks-sdk-java/src/main/java/com/databricks/sdk/mixin

1 file changed

+6
-3
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/mixin/JobsExt.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public boolean hasNext() {
4141
public BaseRun next() {
4242
BaseRun run = iterator.next();
4343

44-
// The has_more field is only present in run with 100+ tasks, that is served from Jobs API 2.2.
44+
// The has_more field is only present in run with 100+ tasks, that is served from Jobs
45+
// API 2.2.
4546
// Extra tasks and other fields need to be fetched only when has_more is true.
4647
if (run.getHasMore() != null && run.getHasMore()) {
4748
// fully fetch all top level arrays for the run
@@ -53,8 +54,10 @@ public BaseRun next() {
5354
run.setRepairHistory(fullRun.getRepairHistory());
5455
}
5556
// Set the has_more fields to null.
56-
// This field in Jobs API 2.2 is useful for pagination. It indicates if there are more than 100 tasks or job_clusters in the run.
57-
// This function hides pagination details from the user. So the field does not play useful role here.
57+
// This field in Jobs API 2.2 is useful for pagination. It indicates if there are more
58+
// than 100 tasks or job_clusters in the run.
59+
// This function hides pagination details from the user. So the field does not play
60+
// useful role here.
5861
run.setHasMore(null);
5962
return run;
6063
}

0 commit comments

Comments
 (0)