• 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

9.09
/src/main/java/com/box/sdkgen/schemas/aiagentlongtexttool/AiAgentLongTextToolEmbeddingsField.java
1
package com.box.sdkgen.schemas.templatesignerinput;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import java.util.Objects;
5

6
public class TemplateSignerInputDimensionsField extends SerializableObject {
7

8
  protected Double width;
9

10
  protected Double height;
11

12
  public TemplateSignerInputDimensionsField() {
13
    super();
1✔
14
  }
1✔
15

16
  protected TemplateSignerInputDimensionsField(Builder builder) {
17
    super();
×
18
    this.width = builder.width;
×
19
    this.height = builder.height;
×
20
  }
×
21

22
  public Double getWidth() {
23
    return width;
×
24
  }
25

26
  public Double getHeight() {
27
    return height;
×
28
  }
29

30
  @Override
31
  public boolean equals(Object o) {
32
    if (this == o) {
×
33
      return true;
×
34
    }
35
    if (o == null || getClass() != o.getClass()) {
×
36
      return false;
×
37
    }
38
    TemplateSignerInputDimensionsField casted = (TemplateSignerInputDimensionsField) o;
×
39
    return Objects.equals(width, casted.width) && Objects.equals(height, casted.height);
×
40
  }
41

42
  @Override
43
  public int hashCode() {
44
    return Objects.hash(width, height);
×
45
  }
46

47
  @Override
48
  public String toString() {
49
    return "TemplateSignerInputDimensionsField{"
×
50
        + "width='"
51
        + width
52
        + '\''
53
        + ", "
54
        + "height='"
55
        + height
56
        + '\''
57
        + "}";
58
  }
59

NEW
60
  public static class Builder {
×
61

62
    protected Double width;
63

64
    protected Double height;
65

66
    public Builder width(Double width) {
67
      this.width = width;
×
68
      return this;
×
69
    }
70

71
    public Builder height(Double height) {
72
      this.height = height;
×
73
      return this;
×
74
    }
75

76
    public TemplateSignerInputDimensionsField build() {
77
      return new TemplateSignerInputDimensionsField(this);
×
78
    }
79
  }
80
}
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