• 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.81
/src/main/java/com/box/sdkgen/managers/files/GetFileThumbnailUrlQueryParams.java
1
package com.box.sdkgen.managers.files;
2

3
public class GetFileThumbnailUrlQueryParams {
4

5
  public Long minHeight;
6

7
  public Long minWidth;
8

9
  public Long maxHeight;
10

11
  public Long maxWidth;
12

13
  public GetFileThumbnailUrlQueryParams() {}
1✔
14

NEW
15
  protected GetFileThumbnailUrlQueryParams(Builder builder) {
×
16
    this.minHeight = builder.minHeight;
×
17
    this.minWidth = builder.minWidth;
×
18
    this.maxHeight = builder.maxHeight;
×
19
    this.maxWidth = builder.maxWidth;
×
20
  }
×
21

22
  public Long getMinHeight() {
23
    return minHeight;
1✔
24
  }
25

26
  public Long getMinWidth() {
27
    return minWidth;
1✔
28
  }
29

30
  public Long getMaxHeight() {
31
    return maxHeight;
1✔
32
  }
33

34
  public Long getMaxWidth() {
35
    return maxWidth;
1✔
36
  }
37

NEW
38
  public static class Builder {
×
39

40
    protected Long minHeight;
41

42
    protected Long minWidth;
43

44
    protected Long maxHeight;
45

46
    protected Long maxWidth;
47

48
    public Builder minHeight(Long minHeight) {
49
      this.minHeight = minHeight;
×
50
      return this;
×
51
    }
52

53
    public Builder minWidth(Long minWidth) {
54
      this.minWidth = minWidth;
×
55
      return this;
×
56
    }
57

58
    public Builder maxHeight(Long maxHeight) {
59
      this.maxHeight = maxHeight;
×
60
      return this;
×
61
    }
62

63
    public Builder maxWidth(Long maxWidth) {
64
      this.maxWidth = maxWidth;
×
65
      return this;
×
66
    }
67

68
    public GetFileThumbnailUrlQueryParams build() {
69
      return new GetFileThumbnailUrlQueryParams(this);
×
70
    }
71
  }
72
}
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