Skip to content

Commit 640856e

Browse files
committed
cleanup
1 parent d86b583 commit 640856e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/htmlunit/javascript/host/dom/AbstractList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ else if (domNode instanceof HtmlPage) {
270270
protected Object getWithPreemption(final String name) {
271271
// Test to see if we are trying to get the length of this collection?
272272
// If so return NOT_FOUND here to let the property be retrieved using the prototype
273-
if (/*xpath_ == null || */"length".equals(name)) {
273+
if ("length".equals(name)) {
274274
return NOT_FOUND;
275275
}
276276

0 commit comments

Comments
 (0)