Skip to content

Commit

Permalink
improve Xerces detection code further issue #541
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Jan 21, 2023
1 parent e7052c5 commit 1cf7bf7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public final class Platform {

static {
try {
Class.forName("com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl");
HelperSunXerces_ = (XmlUtilsHelperAPI)
Class.forName("com.gargoylesoftware.htmlunit.platform.util.XmlUtilsSunXercesHelper").newInstance();
}
Expand All @@ -56,7 +55,6 @@ public final class Platform {
}

try {
Class.forName("org.apache.xerces.dom.DeferredDocumentImpl");
HelperXerces_ = (XmlUtilsHelperAPI)
Class.forName("com.gargoylesoftware.htmlunit.platform.util.XmlUtilsXercesHelper").newInstance();
}
Expand Down

0 comments on commit 1cf7bf7

Please sign in to comment.