luehe 2002/09/04 09:58:57
Modified: jasper2/src/share/org/apache/jasper/compiler JspUtil.java
Log:
Added javadoc comment for toClass() method
Revision Changes Path
1.16 +9 -3
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspUtil.java
Index: JspUtil.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspUtil.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- JspUtil.java 3 Sep 2002 22:26:23 -0000 1.15
+++ JspUtil.java 4 Sep 2002 16:58:57 -0000 1.16
@@ -530,7 +530,13 @@
}
/**
+ * Returns the <tt>Class</tt> object associated with the class or
+ * interface with the given string name.
*
+ * <p> The <tt>Class</tt> object is determined by passing the given string
+ * name to the <tt>Class.forName()</tt> method, unless the given string
+ * name represents a primitive type, in which case it is converted to a
+ * <tt>Class</tt> object by appending ".class" to it (e.g., "int.class").
*/
public static Class toClass(String type) throws ClassNotFoundException {
if ("boolean".equals(type))
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>