Author: markt
Date: Tue Jan 26 20:48:43 2016
New Revision: 1726899
URL: http://svn.apache.org/viewvc?rev=1726899&view=rev
Log:
Fix some Javadoc warnings
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Generator.java?rev=1726899&r1=1726898&r2=1726899&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Tue Jan 26
20:48:43 2016
@@ -3445,6 +3445,9 @@ class Generator {
* The variable the tag handler is stored in, so the
fragment
* knows its parent tag.
* @return The name of the temporary variable the fragment is stored
in.
+ *
+ * @throws JasperException If an error occurs trying to generate the
+ * fragment
*/
public String generateNamedAttributeJspFragment(Node.NamedAttribute n,
String tagHandlerVar) throws JasperException {
@@ -3619,6 +3622,8 @@ class Generator {
* The compiler
* @param page
* The input page
+ *
+ * @throws JasperException If something goes wrong during generation
*/
public static void generate(ServletWriter out, Compiler compiler,
Node.Nodes page) throws JasperException {
@@ -4121,23 +4126,14 @@ class Generator {
}
}
- /**
- * XXX
- */
public Method getSetterMethod(String attrName) {
return methodMaps.get(attrName);
}
- /**
- * XXX
- */
public Class<?> getPropertyEditorClass(String attrName) {
return propertyEditorMaps.get(attrName);
}
- /**
- * XXX
- */
public Class<?> getTagHandlerClass() {
return tagHandlerClass;
}
@@ -4190,6 +4186,9 @@ class Generator {
* Adjust the Java Lines. This is necessary because the Java lines
* stored with the nodes are relative the beginning of this buffer and
* need to be adjusted when this buffer is inserted into the source.
+ *
+ * @param offset The offset to apply to the start line and end line of
+ * and Java lines of nodes in this buffer
*/
public void adjustJavaLines(final int offset) {
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java?rev=1726899&r1=1726898&r2=1726899&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
(original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
Tue Jan 26 20:48:43 2016
@@ -63,9 +63,7 @@ class ImplicitTagLibraryInfo extends Tag
private final PageInfo pi;
private final Vector<TagFileInfo> vec;
- /**
- * Constructor.
- */
+
public ImplicitTagLibraryInfo(JspCompilationContext ctxt,
ParserController pc,
PageInfo pi,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]