You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2006/04/29 17:49:04 UTC
svn commit: r398183 - in
/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser:
ASTAssignment.java ASTBitwiseAndNode.java ASTBitwiseComplNode.java
Author: dion
Date: Sat Apr 29 08:49:03 2006
New Revision: 398183
URL: http://svn.apache.org/viewcvs?rev=398183&view=rev
Log:
Checkstyle
Modified:
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTAssignment.java
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseAndNode.java
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseComplNode.java
Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTAssignment.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTAssignment.java?rev=398183&r1=398182&r2=398183&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTAssignment.java (original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTAssignment.java Sat Apr 29 08:49:03 2006
@@ -25,22 +25,31 @@
*
*/
public class ASTAssignment extends SimpleNode {
+ /**
+ * Create the node given an id.
+ *
+ * @param id node id.
+ */
public ASTAssignment(int id) {
super(id);
}
+ /**
+ * Create a node with the given parser and id.
+ *
+ * @param p a parser.
+ * @param id node id.
+ */
public ASTAssignment(Parser p, int id) {
super(p, id);
}
- /** Accept the visitor. * */
+ /** {@inheritDoc} */
public Object jjtAccept(ParserVisitor visitor, Object data) {
return visitor.visit(this, data);
}
- /**
- * Handle assignment ( left = right ).
- */
+ /** {@inheritDoc} */
public Object value(JexlContext context) throws Exception {
// left should be the variable (reference) to assign to
SimpleNode left = (SimpleNode) jjtGetChild(0);
Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseAndNode.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseAndNode.java?rev=398183&r1=398182&r2=398183&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseAndNode.java (original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseAndNode.java Sat Apr 29 08:49:03 2006
@@ -20,28 +20,37 @@
import org.apache.commons.jexl.util.Coercion;
/**
- * Bitwise And. Syntax: a & b Result is a Long
+ * Bitwise And. Syntax: a & b Result is a {@link Long}
*
* @author Dion Gillard
* @since 1.1
*/
public class ASTBitwiseAndNode extends SimpleNode {
+ /**
+ * Create the node given an id.
+ *
+ * @param id node id.
+ */
public ASTBitwiseAndNode(int id) {
super(id);
}
+ /**
+ * Create a node with the given parser and id.
+ *
+ * @param p a parser.
+ * @param id node id.
+ */
public ASTBitwiseAndNode(Parser p, int id) {
super(p, id);
}
- /** Accept the visitor. * */
+ /** {@inheritDoc} */
public Object jjtAccept(ParserVisitor visitor, Object data) {
return visitor.visit(this, data);
}
- /**
- * @return a {@link Long} which is the bitwise and of the two operands.
- */
+ /** {@inheritDoc} */
public Object value(JexlContext context) throws Exception {
Object left = ((SimpleNode) jjtGetChild(0)).value(context);
Object right = ((SimpleNode) jjtGetChild(1)).value(context);
Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseComplNode.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseComplNode.java?rev=398183&r1=398182&r2=398183&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseComplNode.java (original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTBitwiseComplNode.java Sat Apr 29 08:49:03 2006
@@ -26,22 +26,31 @@
* @since 1.1
*/
public class ASTBitwiseComplNode extends SimpleNode {
+ /**
+ * Create the node given an id.
+ *
+ * @param id node id.
+ */
public ASTBitwiseComplNode(int id) {
super(id);
}
+ /**
+ * Create a node with the given parser and id.
+ *
+ * @param p a parser.
+ * @param id node id.
+ */
public ASTBitwiseComplNode(Parser p, int id) {
super(p, id);
}
- /** Accept the visitor. * */
+ /** {@inheritDoc} */
public Object jjtAccept(ParserVisitor visitor, Object data) {
return visitor.visit(this, data);
}
- /**
- * @return a {@link Long} which is the bitwise complement of the operand.
- */
+ /** {@inheritDoc} */
public Object value(JexlContext context) throws Exception {
Object left = ((SimpleNode) jjtGetChild(0)).value(context);
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org