Skip to content

Commit

Permalink
Fix commit [ab2d824].
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Dec 18, 2020
1 parent c8d2a59 commit b0408bc
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/io/sf/carte/doc/dom4j/CSSStylableElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -488,26 +488,6 @@ protected boolean isNthLastOfType(int step, int offset) {
return step == 0 ? idx == 0 : Math.floorMod(idx, step) == 0;
}

@Override
protected boolean isNotVisitedLink() {
String href = getAttribute("href");
if (href != null && href.length() != 0) {
return !getOwnerDocument().isVisitedURI(href);
} else {
return false;
}
}

@Override
protected boolean isVisitedLink() {
String href = getAttribute("href");
if (href != null && href.length() != 0) {
return getOwnerDocument().isVisitedURI(href);
} else {
return false;
}
}

@Override
protected boolean isTarget() {
String uri = getOwnerDocument().getDocumentURI();
Expand Down

0 comments on commit b0408bc

Please sign in to comment.