Browse files

Reduce visibility of additionalNamespaces from protected to package-p…

…rivate.

Fix some Javadoc
  • Loading branch information...
1 parent 1b78d60 commit 616443fc8adf1ffdaa54f0c23c7463deb5adbbff @rolfl rolfl committed Mar 13, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 core/src/java/org/jdom2/Element.java
View
7 core/src/java/org/jdom2/Element.java
@@ -1,6 +1,6 @@
/*--
- Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2012 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -111,10 +111,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/** Additional namespace declarations to store on this element; useful
* during output */
- protected transient List<Namespace> additionalNamespaces;
-
- // See http://lists.denveronline.net/lists/jdom-interest/2000-September/003030.html
- // for a possible memory optimization here (using a RootElement subclass)
+ transient List<Namespace> additionalNamespaces = null;
/**
* The attributes of the element. Subclassers have to

0 comments on commit 616443f

Please sign in to comment.