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

Ekryd / sortpom / 3770

07 Oct 2024 08:39AM CUT coverage: 99.841%. Remained the same
3770

push

circleci

web-flow
build(deps): bump com.spotify.fmt:fmt-maven-plugin from 2.24 to 2.25 (#450)

Bumps [com.spotify.fmt:fmt-maven-plugin](https://github.com/spotify/fmt-maven-plugin) from 2.24 to 2.25.
- [Release notes](https://github.com/spotify/fmt-maven-plugin/releases)
- [Commits](https://github.com/spotify/fmt-maven-plugin/compare/2.24...2.25)

---
updated-dependencies:
- dependency-name: com.spotify.fmt:fmt-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

1256 of 1258 relevant lines covered (99.84%)

1.0 hits per line

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

83.33
/sorter/src/main/java/sortpom/parameter/IndentAttribute.java
1
package sortpom.parameter;
2

3
import sortpom.exception.FailureException;
4

5
public enum IndentAttribute {
1✔
6
  NONE,
1✔
7
  SCHEMA_LOCATION,
1✔
8
  ALL;
1✔
9

10
  static IndentAttribute fromString(String indentAttribute) {
11
    if (indentAttribute == null) {
1✔
12
      return NONE;
1✔
13
    }
14
    if ("schemaLocation".equalsIgnoreCase(indentAttribute)) {
1✔
15
      return SCHEMA_LOCATION;
1✔
16
    }
17
    if ("all".equalsIgnoreCase(indentAttribute)) {
1✔
18
      return ALL;
1✔
19
    }
20
    throw new FailureException(
×
21
        String.format(
×
22
            "verifyFail must be either SCHEMA_LOCATION or ALL. Was: %s", indentAttribute));
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

© 2025 Coveralls, Inc