• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk / #6241

10 Feb 2026 05:27PM UTC coverage: 24.324% (+11.5%) from 12.84%
#6241

push

github

web-flow
fix(boxsdkgen): Move assigning default values from builder constructor to `build()` method (box/box-codegen#922) (#1712)

0 of 1677 new or added lines in 569 files covered. (0.0%)

2130 existing lines in 537 files now uncovered.

7388 of 30373 relevant lines covered (24.32%)

0.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/box/sdkgen/managers/weblinks/UpdateWebLinkByIdHeaders.java
1
package com.box.sdkgen.managers.weblinks;
2

3
import static com.box.sdkgen.internal.utils.UtilsManager.mapOf;
4

5
import java.util.Map;
6

7
public class CreateWebLinkHeaders {
8

9
  /** Extra headers that will be included in the HTTP request. */
10
  public Map<String, String> extraHeaders;
11

12
  public CreateWebLinkHeaders() {
×
13
    this.extraHeaders = mapOf();
×
14
  }
×
15

16
  protected CreateWebLinkHeaders(Builder builder) {
×
17
    this.extraHeaders = builder.extraHeaders;
×
18
  }
×
19

20
  public Map<String, String> getExtraHeaders() {
21
    return extraHeaders;
×
22
  }
23

24
  public static class Builder {
25

26
    protected Map<String, String> extraHeaders;
27

NEW
28
    public Builder() {}
×
29

30
    public Builder extraHeaders(Map<String, String> extraHeaders) {
UNCOV
31
      this.extraHeaders = extraHeaders;
×
UNCOV
32
      return this;
×
33
    }
34

35
    public CreateWebLinkHeaders build() {
NEW
36
      if (this.extraHeaders == null) {
×
NEW
37
        this.extraHeaders = mapOf();
×
38
      }
39
      return new CreateWebLinkHeaders(this);
×
40
    }
41
  }
42
}
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