• 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

100.0
/maven-plugin/src/main/java/sortpom/logger/MavenLogger.java
1
package sortpom.logger;
2

3
import org.apache.maven.plugin.logging.Log;
4

5
/**
6
 * @author bjorn
7
 * @since 2012-12-22
8
 */
9
public class MavenLogger implements SortPomLogger {
10
  private final Log pluginLogger;
11
  private final boolean quiet;
12

13
  public MavenLogger(Log pluginLogger, boolean quiet) {
1✔
14
    this.pluginLogger = pluginLogger;
1✔
15
    this.quiet = quiet;
1✔
16
  }
1✔
17

18
  @Override
19
  public void warn(String content) {
20
    pluginLogger.warn(content);
1✔
21
  }
1✔
22

23
  @Override
24
  public void info(String content) {
25
    if (quiet) {
1✔
26
      pluginLogger.debug(content);
1✔
27
    } else {
28
      pluginLogger.info(content);
1✔
29
    }
30
  }
1✔
31

32
  @Override
33
  public void error(String content) {
34
    pluginLogger.error(content);
1✔
35
  }
1✔
36
}
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