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

AuthMe / ConfigMe / 6013592978

29 Aug 2023 02:22PM UTC coverage: 95.279%. First build
6013592978

push

github

ljacqu
New property builder: current working changes

526 of 544 branches covered (0.0%)

33 of 33 new or added lines in 5 files covered. (100.0%)

1453 of 1525 relevant lines covered (95.28%)

4.36 hits per line

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

0.0
/src/main/java/ch/jalu/configme/properties/builder/PropertyBuilderUtils.java
1
package ch.jalu.configme.properties.builder;
2

3
import org.jetbrains.annotations.NotNull;
4
import org.jetbrains.annotations.Nullable;
5

6
final class PropertyBuilderUtils {
7

8
    private PropertyBuilderUtils() {
9
    }
10

11
    static <T> @NotNull T requireNonNullDefaultValue(@Nullable T defaultValue) {
12
        if (defaultValue == null) {
×
13
            throw new IllegalStateException("The default value was not defined");
×
14
        }
15
        return defaultValue;
×
16
    }
17

18
    static @NotNull String requireNonNullPath(@Nullable String path) {
19
        if (path == null) {
×
20
            throw new IllegalStateException("The path was not defined");
×
21
        }
22
        return path;
×
23
    }
24
}
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