• 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

0.0
/src/main/java/com/box/sdkgen/schemas/keywordskillcard/KeywordSkillCardEntriesField.java
1
package com.box.sdkgen.schemas.keywordskillcard;
2

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

6
public class KeywordSkillCardEntriesField extends SerializableObject {
7

8
  protected String text;
9

10
  public KeywordSkillCardEntriesField() {
11
    super();
×
12
  }
×
13

14
  protected KeywordSkillCardEntriesField(Builder builder) {
15
    super();
×
16
    this.text = builder.text;
×
17
  }
×
18

19
  public String getText() {
20
    return text;
×
21
  }
22

23
  @Override
24
  public boolean equals(Object o) {
25
    if (this == o) {
×
26
      return true;
×
27
    }
28
    if (o == null || getClass() != o.getClass()) {
×
29
      return false;
×
30
    }
31
    KeywordSkillCardEntriesField casted = (KeywordSkillCardEntriesField) o;
×
32
    return Objects.equals(text, casted.text);
×
33
  }
34

35
  @Override
36
  public int hashCode() {
37
    return Objects.hash(text);
×
38
  }
39

40
  @Override
41
  public String toString() {
42
    return "KeywordSkillCardEntriesField{" + "text='" + text + '\'' + "}";
×
43
  }
44

NEW
45
  public static class Builder {
×
46

47
    protected String text;
48

49
    public Builder text(String text) {
50
      this.text = text;
×
51
      return this;
×
52
    }
53

54
    public KeywordSkillCardEntriesField build() {
55
      return new KeywordSkillCardEntriesField(this);
×
56
    }
57
  }
58
}
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