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

Ekryd / sortpom / 3807

15 Oct 2024 05:03PM CUT coverage: 99.841%. Remained the same
3807

push

circleci

web-flow
chore(deps): update dependency org.mockito:mockito-core to v5.14.2

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
/sorter/src/main/java/sortpom/content/NewlineText.java
1
package sortpom.content;
2

3
import org.dom4j.tree.AbstractText;
4

5
/**
6
 * The NewlineText is not really a special case of text, it is a placeholder that we want to keep a
7
 * newline i the pom. The special handling of NewlineText is done in XmlProcessor.PatchedXMLWriter
8
 */
9
public class NewlineText extends AbstractText {
1✔
10
  private static final long serialVersionUID = -7552189498553321263L;
11

12
  /**
13
   * This returns a <code>String</code> representation of the <code>NewlineText</code>, suitable for
14
   * debugging.
15
   */
16
  @Override
17
  public String toString() {
18
    return "[NewLine]";
1✔
19
  }
20

21
  @Override
22
  public String getText() {
23
    return "";
1✔
24
  }
25
}
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