You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2015/05/16 19:34:04 UTC
svn commit: r1679753 -
/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java
Author: oheger
Date: Sat May 16 17:34:03 2015
New Revision: 1679753
URL: http://svn.apache.org/r1679753
Log:
Javadoc errors: unexpected end tags, invalid entity.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java
Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java?rev=1679753&r1=1679752&r2=1679753&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/DefaultExpressionEngine.java Sat May 16 17:34:03 2015
@@ -25,7 +25,7 @@ import org.apache.commons.lang3.StringUt
/**
* <p>
* A default implementation of the {@code ExpressionEngine} interface
- * providing the "native"e; expression language for hierarchical
+ * providing the "native" expression language for hierarchical
* configurations.
* </p>
* <p>
@@ -33,7 +33,6 @@ import org.apache.commons.lang3.StringUt
* through a hierarchy of configuration nodes. It supports the following
* operations:
* </p>
- * <p>
* <ul>
* <li>Navigating from a node to one of its children using the child node
* delimiter, which is by the default a dot (".").</li>
@@ -44,7 +43,6 @@ import org.apache.commons.lang3.StringUt
* specific node can be selected using a numerical index. By default indices are
* written in parenthesis.</li>
* </ul>
- * </p>
* <p>
* As an example consider the following XML document:
* </p>
@@ -81,7 +79,6 @@ import org.apache.commons.lang3.StringUt
* </database>
* </pre>
*
- * </p>
* <p>
* If this document is parsed and stored in a hierarchical configuration object,
* for instance the key {@code tables.table(0).name} can be used to find
@@ -265,7 +262,6 @@ public class DefaultExpressionEngine imp
* clarify this: Suppose the current node structure looks like the
* following:
* </p>
- * <p>
* <pre>
* tables
* +-- table
@@ -281,7 +277,6 @@ public class DefaultExpressionEngine imp
* +-- fields
* ...
* </pre>
- * </p>
* <p>
* In this example a database structure is defined, e.g. all fields of the
* first table could be accessed using the key
@@ -290,11 +285,9 @@ public class DefaultExpressionEngine imp
* hierarchy the new property is to be inserted. So to add a new field name
* to a table it is not enough to say just
* </p>
- * <p>
* <pre>
* config.addProperty("tables.table.fields.field.name", "newField");
* </pre>
- * </p>
* <p>
* The statement given above contains some ambiguity. For instance it is not
* clear, to which table the new field should be added. If this method finds
@@ -316,21 +309,17 @@ public class DefaultExpressionEngine imp
* achieved by specifying an invalid index (like -1) after the element where
* a new branch should be created. Given this our example would run:
* </p>
- * <p>
* <pre>
* config.addProperty("tables.table(1).fields.field(-1).name", "newField");
* </pre>
- * </p>
* <p>
* With this notation it is possible to add new branches everywhere. We
* could for instance create a new {@code table} element by
* specifying
* </p>
- * <p>
* <pre>
* config.addProperty("tables.table(-1).fields.field.name", "newField2");
* </pre>
- * </p>
* <p>
* (Note that because after the {@code table} element a new branch is
* created indices in following elements are not relevant; the branch is new