• 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/IgnoreSectionToken.java
1
package sortpom.content;
2

3
import org.dom4j.Comment;
4
import org.dom4j.Element;
5
import org.dom4j.ProcessingInstruction;
6
import org.dom4j.tree.DefaultProcessingInstruction;
7

8
/**
9
 * The processing instruction is also a comment which forces the indentation when the token is
10
 * placed within an Element. See XMLWriter.writeElementL937
11
 */
12
public class IgnoreSectionToken extends DefaultProcessingInstruction implements Comment {
13
  public IgnoreSectionToken(Element parent, String target, String values) {
14
    super(parent, target, values);
1✔
15
  }
1✔
16

17
  public static IgnoreSectionToken from(ProcessingInstruction content) {
18
    return new IgnoreSectionToken(
1✔
19
        content.getParent(), content.getTarget(), content.getStringValue());
1✔
20
  }
21

22
  @Override
23
  public void appendText(String text) {
24
    throw new UnsupportedOperationException();
1✔
25
  }
26
}
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