Author: henrib Date: Mon Aug 29 09:14:35 2016 New Revision: 1758189 URL: http://svn.apache.org/viewvc?rev=1758189&view=rev Log: JEXL-208: documentation typos
Modified: commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml Modified: commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml?rev=1758189&r1=1758188&r2=1758189&view=diff ============================================================================== --- commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml (original) +++ commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml Mon Aug 29 09:14:35 2016 @@ -560,7 +560,7 @@ It also checks whether any collection, set or map (on keys) contains a value or not; in that case, it behaves as an "in" operator. Note that arrays and user classes exposing a public 'contains' method will allow their instances - to behave has right-hand side operands of this operator. + to behave as right-hand side operands of this operator. <code> "a" =~ ["a","b","c","d","e",f"]</code> returns <code>true</code>. </td> </tr> @@ -574,7 +574,7 @@ It also checks whether any collection, set or map (on keys) does not contain a value; in that case, it behaves as "not in" operator. Note that arrays and user classes exposing a public 'contains' method will allow their instances - to behave has right-hand side operands of this operator. + to behave as right-hand side operands of this operator. <code> "a" !~ ["a","b","c","d","e",f"]</code> returns <code>true</code>. </td> </tr> @@ -584,7 +584,7 @@ The <code>=^</code> operator is a short-hand for the 'startsWith' method. For example, <code> "abcdef" =^ "abc" </code> returns <code>true</code>. Note that through duck-typing, user classes exposing a public 'startsWith' method will allow their instances - to behave has left-hand side operands of this operator. + to behave as left-hand side operands of this operator. </td> </tr> <tr> @@ -599,7 +599,7 @@ <td>The <code>=$</code> operator is a short-hand for the 'endsWith' method. For example, <code> "abcdef" =$ "def" </code> returns <code>true</code>. Note that through duck-typing, user classes exposing an 'endsWith' method will allow their instances - to behave has left-hand side operands of this operator. + to behave as left-hand side operands of this operator. </td> </tr> <tr>