• 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/usercollaborations/CreateCollaborationQueryParams.java
1
package com.box.sdkgen.managers.usercollaborations;
2

3
import java.util.List;
4

5
public class CreateCollaborationQueryParams {
6

7
  public List<String> fields;
8

9
  public Boolean notify;
10

11
  public CreateCollaborationQueryParams() {}
1✔
12

NEW
13
  protected CreateCollaborationQueryParams(Builder builder) {
×
14
    this.fields = builder.fields;
×
15
    this.notify = builder.notify;
×
16
  }
×
17

18
  public List<String> getFields() {
19
    return fields;
1✔
20
  }
21

22
  public Boolean getNotify() {
23
    return notify;
1✔
24
  }
25

NEW
26
  public static class Builder {
×
27

28
    protected List<String> fields;
29

30
    protected Boolean notify;
31

32
    public Builder fields(List<String> fields) {
33
      this.fields = fields;
×
34
      return this;
×
35
    }
36

37
    public Builder notify(Boolean notify) {
38
      this.notify = notify;
×
39
      return this;
×
40
    }
41

42
    public CreateCollaborationQueryParams build() {
43
      return new CreateCollaborationQueryParams(this);
×
44
    }
45
  }
46
}
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