• 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.08
/src/main/java/com/box/sdkgen/managers/memberships/GetUserMembershipsQueryParams.java
1
package com.box.sdkgen.managers.memberships;
2

3
public class GetUserMembershipsQueryParams {
4

5
  public Long limit;
6

7
  public Long offset;
8

9
  public GetUserMembershipsQueryParams() {}
1✔
10

NEW
11
  protected GetUserMembershipsQueryParams(Builder builder) {
×
12
    this.limit = builder.limit;
×
13
    this.offset = builder.offset;
×
14
  }
×
15

16
  public Long getLimit() {
17
    return limit;
1✔
18
  }
19

20
  public Long getOffset() {
21
    return offset;
1✔
22
  }
23

NEW
24
  public static class Builder {
×
25

26
    protected Long limit;
27

28
    protected Long offset;
29

30
    public Builder limit(Long limit) {
31
      this.limit = limit;
×
32
      return this;
×
33
    }
34

35
    public Builder offset(Long offset) {
36
      this.offset = offset;
×
37
      return this;
×
38
    }
39

40
    public GetUserMembershipsQueryParams build() {
41
      return new GetUserMembershipsQueryParams(this);
×
42
    }
43
  }
44
}
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