You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2016/04/28 12:25:41 UTC
svn commit: r1741405 -
/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java
Author: henrib
Date: Thu Apr 28 10:25:41 2016
New Revision: 1741405
URL: http://svn.apache.org/viewvc?rev=1741405&view=rev
Log:
JEXL:
Javadoc typo
Modified:
commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java
Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java?rev=1741405&r1=1741404&r2=1741405&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlBuilder.java Thu Apr 28 10:25:41 2016
@@ -27,16 +27,16 @@ import java.nio.charset.Charset;
/**
* Configure and builds a JexlEngine.
- *
+ *
* <p>The <code>setSilent</code> and <code>setStrict</code> methods allow to fine-tune an engine instance behavior
* according to various error control needs. The strict flag tells the engine when and if null as operand is
* considered an error, the silent flag tells the engine what to do with the error
* (log as warning or throw exception).</p>
- *
+ *
* <ul>
* <li>When "silent" & "not-strict":
* <p> 0 & null should be indicators of "default" values so that even in an case of error,
- * something meaningfull can still be inferred; may be convenient for configurations.
+ * something meaningful can still be inferred; may be convenient for configurations.
* </p>
* </li>
* <li>When "silent" & "strict":
@@ -46,7 +46,7 @@ import java.nio.charset.Charset;
* Use case could be configuration with no implicit values or defaults.
* </p>
* </li>
- * <li>When "not-silent" & "not-stict":
+ * <li>When "not-silent" & "not-strict":
* <p>The error control grain is roughly on par with JEXL 1.0</p>
* </li>
* <li>When "not-silent" & "strict":
@@ -105,7 +105,7 @@ public class JexlBuilder {
/**
* Sets the JexlUberspect instance the engine will use.
- *
+ *
* @param u the uberspect
* @return this builder
*/
@@ -122,7 +122,7 @@ public class JexlBuilder {
/**
* Sets the JexlUberspect strategy strategy the engine will use.
* <p>This is ignored if the uberspect has been set.
- *
+ *
* @param rs the strategy
* @return this builder
*/
@@ -138,7 +138,7 @@ public class JexlBuilder {
/**
* Sets the JexlArithmetic instance the engine will use.
- *
+ *
* @param a the arithmetic
* @return this builder
*/
@@ -154,7 +154,7 @@ public class JexlBuilder {
/**
* Sets the sandbox the engine will use.
- *
+ *
* @param box the sandbox
* @return this builder
*/
@@ -170,7 +170,7 @@ public class JexlBuilder {
/**
* Sets the o.a.c.Log instance to use.
- *
+ *
* @param l the logger
* @return this builder
*/
@@ -186,7 +186,7 @@ public class JexlBuilder {
/**
* Sets the class loader to use.
- *
+ *
* @param l the class loader
* @return this builder
*/
@@ -202,7 +202,7 @@ public class JexlBuilder {
/**
* Sets the charset to use.
- *
+ *
* @param arg the charset
* @return this builder
*/
@@ -218,7 +218,7 @@ public class JexlBuilder {
/**
* Sets whether the engine will throw JexlException during evaluation when an error is triggered.
- *
+ *
* @param flag true means no JexlException will occur, false allows them
* @return this builder
*/
@@ -235,7 +235,7 @@ public class JexlBuilder {
/**
* Sets whether the engine considers unknown variables, methods, functions and constructors as errors or
* evaluates them as null.
- *
+ *
* @param flag true means strict error reporting, false allows them to be evaluated as null
* @return this builder
*/
@@ -251,7 +251,7 @@ public class JexlBuilder {
/**
* Sets whether the engine will report debugging information when error occurs.
- *
+ *
* @param flag true implies debug is on, false implies debug is off.
* @return this builder
*/
@@ -286,7 +286,7 @@ public class JexlBuilder {
* </p>
* <p>Note that the JexlContext is also used to try to solve top-level namespaces. This allows ObjectContext
* derived instances to call methods on the wrapped object.</p>
- *
+ *
* @param ns the map of namespaces
* @return this builder
*/
@@ -306,7 +306,7 @@ public class JexlBuilder {
* Sets the expression cache size the engine will use.
* <p>The cache will contain at most <code>size</code> expressions of at most <code>cacheThreshold</code> length.
* Note that all JEXL caches are held through SoftReferences and may be garbage-collected.</p>
- *
+ *
* @param size if not strictly positive, no cache is used.
* @return this builder
*/
@@ -328,7 +328,7 @@ public class JexlBuilder {
* bypass the cache.</p>
* <p>It is expected that a "long" script will be parsed once and its reference kept
* around in user-space structures; the jexl expression cache has no added-value in this case.</p>
- *
+ *
* @param length if not strictly positive, the value is silently replaced by the default value (64).
* @return this builder
*/