Author: markt
Date: Wed Jan 20 09:09:08 2016
New Revision: 1725687
URL: http://svn.apache.org/viewvc?rev=1725687&view=rev
Log:
Javadoc
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/ELNode.java
tomcat/trunk/java/org/apache/jasper/compiler/Generator.java
tomcat/trunk/java/org/apache/jasper/compiler/Node.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/ELNode.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/ELNode.java?rev=1725687&r1=1725686&r2=1725687&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/ELNode.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/ELNode.java Wed Jan 20
09:09:08 2016
@@ -38,10 +38,6 @@ abstract class ELNode {
public abstract void accept(Visitor v) throws JasperException;
- /**
- * Child classes
- */
-
/**
* Represents an EL expression: anything in ${ and }.
@@ -204,8 +200,11 @@ abstract class ELNode {
}
/**
- * Visit the nodes in the list with the supplied visitor
+ * Visit the nodes in the list with the supplied visitor.
+ *
* @param v The visitor used
+ *
+ * @throws JasperException if an error occurs while visiting a node
*/
public void visit(Visitor v) throws JasperException {
Iterator<ELNode> iter = list.iterator();
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=1725687&r1=1725686&r2=1725687&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Generator.java Wed Jan 20
09:09:08 2016
@@ -931,9 +931,7 @@ class Generator {
private HashMap<String,String> textMap;
- /**
- * Constructor.
- */
+
public GenerateVisitor(boolean isTagFile, ServletWriter out,
ArrayList<GenBuffer> methodsBuffered,
FragmentHelperClass fragmentHelperClass) {
@@ -3387,7 +3385,11 @@ class Generator {
* Generate the code required to obtain the runtime value of the given
* named attribute.
*
+ * @param n The named attribute node whose value is required
+ *
* @return The name of the temporary variable the result is stored in.
+ *
+ * @throws JasperException If an error
*/
public String generateNamedAttributeValue(Node.NamedAttribute n)
throws JasperException {
Modified: tomcat/trunk/java/org/apache/jasper/compiler/Node.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Node.java?rev=1725687&r1=1725686&r2=1725687&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/Node.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Node.java Wed Jan 20 09:09:08
2016
@@ -2368,6 +2368,8 @@ abstract class Node implements TagConsta
*
* @param v
* The visitor used
+ *
+ * @throws JasperException if an error occurs while visiting a node
*/
public void visit(Visitor v) throws JasperException {
Iterator<Node> iter = list.iterator();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]