Browse files

Make samples build after contrib

Remove redundant JavaDoc
  • Loading branch information...
1 parent c85cad9 commit 327a789ffb56ce338c18efe76a6ab98d81faaea4 @rolfl rolfl committed Feb 14, 2012
Showing with 3 additions and 6 deletions.
  1. +2 −2 build.xml
  2. +1 −4 core/src/java/org/jdom2/util/NamespaceStack.java
View
4 build.xml
@@ -199,7 +199,7 @@ For instructions on how to build JDOM, please view the README.txt file.
</javac>
</target>
- <target name="compile.samples" depends="compile.core"
+ <target name="compile.samples" depends="compile.core, compile.contrib"
description="Compiles the sample source code">
<!-- Copy resources and stuff - everything except Java code -->
@@ -215,7 +215,7 @@ For instructions on how to build JDOM, please view the README.txt file.
source="${compile.source}"
deprecation="${compile.deprecation}"
includeantruntime="false">
- <classpath refid="core.class.path" />
+ <classpath refid="contrib.class.path" />
</javac>
</target>
View
5 core/src/java/org/jdom2/util/NamespaceStack.java
@@ -74,7 +74,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* 'redefines' an existing Namespace if they share the same prefix. This class
* is intended to provide a high-performance mechanism for calculating the
* Namespace scope for an Element, and identifying what Namespaces an Element
- * introduces in to the scope.
+ * introduces in to the scope. This is not a validation tool.
* <p>
* This class implements Iterable which means it can be used in the context
* of a for-each type loop:
@@ -95,9 +95,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* that the pop() is for the same element that was previously pushed. Further,
* it does not check to make sure that the pushed() Element is the natural child
* of the previously pushed() Element.
- * <p>
- * This is designed as a high-speed, memory efficient way to track the Namespace
- * scope and changes, not as a validation tool.
*
* @author Rolf Lear
*

0 comments on commit 327a789

Please sign in to comment.