You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/22 12:08:28 UTC
svn commit: r1125895 -
/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
Author: simonetripodi
Date: Sun May 22 10:08:28 2011
New Revision: 1125895
URL: http://svn.apache.org/viewvc?rev=1125895&view=rev
Log:
<PRE> html tag in javadoc to lower case
Modified:
incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java?rev=1125895&r1=1125894&r2=1125895&view=diff
==============================================================================
--- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java (original)
+++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java Sun May 22 10:08:28 2011
@@ -33,12 +33,12 @@ import java.util.Map;
* pre-parsing.
* </P>
*
- * <PRE>
+ * <pre>
*
* import org.apache.commons.ognl.Ognl; import org.apache.commons.ognl.OgnlException; try { result = Ognl.getValue(expression, root); }
* catch (OgnlException ex) { // Report error or recover }
*
- * </PRE>
+ * </pre>
* <P>
* This will parse the expression given and evaluate it against the root object given, returning the result. If there is
* an error in the expression, such as the property is not found, the exception is encapsulated into an
@@ -60,14 +60,14 @@ import java.util.Map;
* a string with the current user name in parens:
* </P>
*
- * <PRE>
+ * <pre>
*
* private Map context = new HashMap(); public void setUserName(String value) {
* context.put("userName", value); } try { // get value using our own custom context map result =
* Ognl.getValue("documentName + \" (\" + ((#userName == null) ? \"<nobody>\" : #userName) +
* \")\"", context, root); } catch (OgnlException ex) { // Report error or recover }
*
- * </PRE>
+ * </pre>
*
* @author Luke Blanshard (blanshlu@netscape.net)
* @author Drew Davidson (drew@ognl.org)
Re: svn commit: r1125895 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
Posted by Simone Tripodi <si...@apache.org>.
good catch, thanks! there are a lot of things to fix in the javadoc,
also code samples format is broken, I'm going to fix it!
thanks for reviewing!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Sun, May 22, 2011 at 12:22 PM, sebb <se...@gmail.com> wrote:
> On 22 May 2011 11:08, <si...@apache.org> wrote:
>> Author: simonetripodi
>> Date: Sun May 22 10:08:28 2011
>> New Revision: 1125895
>>
>> URL: http://svn.apache.org/viewvc?rev=1125895&view=rev
>> Log:
>> <PRE> html tag in javadoc to lower case
>>
>> Modified:
>> incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
>>
>> Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
>> URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java?rev=1125895&r1=1125894&r2=1125895&view=diff
>> ==============================================================================
>> --- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java (original)
>> +++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java Sun May 22 10:08:28 2011
>> @@ -33,12 +33,12 @@ import java.util.Map;
>> * pre-parsing.
>> * </P>
>
> <P> should be <p> as well ...
>
>> *
>> - * <PRE>
>> + * <pre>
>> *
>> * import org.apache.commons.ognl.Ognl; import org.apache.commons.ognl.OgnlException; try { result = Ognl.getValue(expression, root); }
>> * catch (OgnlException ex) { // Report error or recover }
>> *
>> - * </PRE>
>> + * </pre>
>> * <P>
>> * This will parse the expression given and evaluate it against the root object given, returning the result. If there is
>> * an error in the expression, such as the property is not found, the exception is encapsulated into an
>> @@ -60,14 +60,14 @@ import java.util.Map;
>> * a string with the current user name in parens:
>> * </P>
>> *
>> - * <PRE>
>> + * <pre>
>> *
>> * private Map context = new HashMap(); public void setUserName(String value) {
>> * context.put("userName", value); } try { // get value using our own custom context map result =
>> * Ognl.getValue("documentName + \" (\" + ((#userName == null) ? \"<nobody>\" : #userName) +
>> * \")\"", context, root); } catch (OgnlException ex) { // Report error or recover }
>> *
>> - * </PRE>
>> + * </pre>
>> *
>> * @author Luke Blanshard (blanshlu@netscape.net)
>> * @author Drew Davidson (drew@ognl.org)
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: svn commit: r1125895 - /incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
Posted by sebb <se...@gmail.com>.
On 22 May 2011 11:08, <si...@apache.org> wrote:
> Author: simonetripodi
> Date: Sun May 22 10:08:28 2011
> New Revision: 1125895
>
> URL: http://svn.apache.org/viewvc?rev=1125895&view=rev
> Log:
> <PRE> html tag in javadoc to lower case
>
> Modified:
> incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
>
> Modified: incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java
> URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java?rev=1125895&r1=1125894&r2=1125895&view=diff
> ==============================================================================
> --- incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java (original)
> +++ incubator/ognl/trunk/src/main/java/org/apache/commons/ognl/Ognl.java Sun May 22 10:08:28 2011
> @@ -33,12 +33,12 @@ import java.util.Map;
> * pre-parsing.
> * </P>
<P> should be <p> as well ...
> *
> - * <PRE>
> + * <pre>
> *
> * import org.apache.commons.ognl.Ognl; import org.apache.commons.ognl.OgnlException; try { result = Ognl.getValue(expression, root); }
> * catch (OgnlException ex) { // Report error or recover }
> *
> - * </PRE>
> + * </pre>
> * <P>
> * This will parse the expression given and evaluate it against the root object given, returning the result. If there is
> * an error in the expression, such as the property is not found, the exception is encapsulated into an
> @@ -60,14 +60,14 @@ import java.util.Map;
> * a string with the current user name in parens:
> * </P>
> *
> - * <PRE>
> + * <pre>
> *
> * private Map context = new HashMap(); public void setUserName(String value) {
> * context.put("userName", value); } try { // get value using our own custom context map result =
> * Ognl.getValue("documentName + \" (\" + ((#userName == null) ? \"<nobody>\" : #userName) +
> * \")\"", context, root); } catch (OgnlException ex) { // Report error or recover }
> *
> - * </PRE>
> + * </pre>
> *
> * @author Luke Blanshard (blanshlu@netscape.net)
> * @author Drew Davidson (drew@ognl.org)
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org