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 <[email protected]> wrote: > On 22 May 2011 11:08, <[email protected]> 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 ([email protected]) >> * @author Drew Davidson ([email protected]) >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
