Permalink
Browse files

Generify empty child list.

  • Loading branch information...
1 parent c659826 commit 8c112c7fd645a5267652fc9a13f362a7a03994ea @jhy jhy committed Feb 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jsoup/nodes/Node.java
View
2 src/main/java/org/jsoup/nodes/Node.java
@@ -46,7 +46,7 @@ protected Node(String baseUri) {
* Default constructor. Doesn't setup base uri, children, or attributes; use with caution.
*/
protected Node() {
- childNodes = Collections.EMPTY_LIST;
+ childNodes = Collections.emptyList();
attributes = null;
}

0 comments on commit 8c112c7

Please sign in to comment.