Author: markt
Date: Mon Jan 27 18:44:45 2014
New Revision: 1561785
URL: http://svn.apache.org/r1561785
Log:
Fix Javadoc warnings
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java
tomcat/tc6.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java
Modified: tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java?rev=1561785&r1=1561784&r2=1561785&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/el/lang/ELSupport.java Mon Jan 27
18:44:45 2014
@@ -49,12 +49,7 @@ public class ELSupport {
}
}
- /**
- * @param obj0
- * @param obj1
- * @return
- * @throws EvaluationException
- */
+
public final static int compare(final Object obj0, final Object obj1)
throws ELException {
if (obj0 == obj1 || equals(obj0, obj1)) {
@@ -92,12 +87,7 @@ public class ELSupport {
throw new ELException(MessageFactory.get("error.compare", obj0, obj1));
}
- /**
- * @param obj0
- * @param obj1
- * @return
- * @throws EvaluationException
- */
+
public final static boolean equals(final Object obj0, final Object obj1)
throws ELException {
if (obj0 == obj1) {
@@ -134,11 +124,7 @@ public class ELSupport {
}
}
- /**
- * @param obj
- * @param type
- * @return
- */
+
public final static Enum<?> coerceToEnum(final Object obj, Class type) {
if (obj == null || "".equals(obj)) {
return null;
@@ -358,10 +344,7 @@ public class ELSupport {
val, String.class, type));
}
- /**
- * @param obj
- * @return
- */
+
public final static String coerceToString(final Object obj) {
if (obj == null) {
return "";
@@ -431,10 +414,7 @@ public class ELSupport {
obj, obj.getClass(), type));
}
- /**
- * @param obj
- * @return
- */
+
public final static boolean containsNulls(final Object[] obj) {
for (int i = 0; i < obj.length; i++) {
if (obj[0] == null) {
@@ -521,11 +501,8 @@ public class ELSupport {
}
}
- /**
- *
- */
+
public ELSupport() {
super();
}
-
}
Modified: tomcat/tc6.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java?rev=1561785&r1=1561784&r2=1561785&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/el/util/ReflectionUtil.java Mon Jan 27
18:44:45 2014
@@ -83,9 +83,6 @@ public class ReflectionUtil {
/**
* Converts an array of Class names to Class types
- * @param s
- * @return
- * @throws ClassNotFoundException
*/
public static Class[] toTypeArray(String[] s) throws
ClassNotFoundException {
if (s == null)
@@ -99,8 +96,6 @@ public class ReflectionUtil {
/**
* Converts an array of Class types to Class names
- * @param c
- * @return
*/
public static String[] toTypeNameArray(Class[] c) {
if (c == null)
@@ -156,13 +151,7 @@ public class ReflectionUtil {
return null;
}
- /**
- * @param base
- * @param property
- * @return
- * @throws ELException
- * @throws PropertyNotFoundException
- */
+
public static PropertyDescriptor getPropertyDescriptor(Object base,
Object property) throws ELException, PropertyNotFoundException {
String name = ELSupport.coerceToString(property);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]