• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

23.53
/src/main/java/com/box/sdkgen/managers/recentitems/GetRecentItemsQueryParams.java
1
package com.box.sdkgen.managers.comments;
2

3
import java.util.List;
4

5
public class GetFileCommentsQueryParams {
6

7
  public List<String> fields;
8

9
  public Long limit;
10

11
  public Long offset;
12

13
  public GetFileCommentsQueryParams() {}
1✔
14

NEW
15
  protected GetFileCommentsQueryParams(Builder builder) {
×
16
    this.fields = builder.fields;
×
17
    this.limit = builder.limit;
×
18
    this.offset = builder.offset;
×
19
  }
×
20

21
  public List<String> getFields() {
22
    return fields;
1✔
23
  }
24

25
  public Long getLimit() {
26
    return limit;
1✔
27
  }
28

29
  public Long getOffset() {
30
    return offset;
1✔
31
  }
32

NEW
33
  public static class Builder {
×
34

35
    protected List<String> fields;
36

37
    protected Long limit;
38

39
    protected Long offset;
40

41
    public Builder fields(List<String> fields) {
42
      this.fields = fields;
×
43
      return this;
×
44
    }
45

46
    public Builder limit(Long limit) {
47
      this.limit = limit;
×
48
      return this;
×
49
    }
50

51
    public Builder offset(Long offset) {
52
      this.offset = offset;
×
53
      return this;
×
54
    }
55

56
    public GetFileCommentsQueryParams build() {
57
      return new GetFileCommentsQueryParams(this);
×
58
    }
59
  }
60
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc