We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46ec1a1 commit 38fec07Copy full SHA for 38fec07
src/main/java/org/jsoup/nodes/Node.java
@@ -806,16 +806,6 @@ public Range sourceRange() {
806
return Range.of(this, true);
807
}
808
809
- /** Test if this node is the first child, or first following blank text. */
810
- final boolean isEffectivelyFirst() {
811
- if (siblingIndex == 0) return true;
812
- if (siblingIndex == 1) {
813
- final Node prev = previousSibling();
814
- return prev instanceof TextNode && (((TextNode) prev).isBlank());
815
- }
816
- return false;
817
818
-
819
/**
820
* Gets this node's outer HTML.
821
* @return outer HTML.
0 commit comments