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

Ekryd / sortpom / 3448

15 Jul 2024 09:05AM CUT coverage: 99.841%. Remained the same
3448

push

circleci

web-flow
build(deps): bump org.codehaus.mojo:versions-maven-plugin (#439)

Bumps [org.codehaus.mojo:versions-maven-plugin](https://github.com/mojohaus/versions) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/mojohaus/versions/releases)
- [Changelog](https://github.com/mojohaus/versions/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/mojohaus/versions/compare/2.17.0...2.17.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:versions-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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