commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression MethodExpression.java
Date Mon, 01 Jul 2002 18:56:26 GMT
rdonkin     2002/07/01 11:56:26

  Modified:    betwixt/src/java/org/apache/commons/betwixt/expression
                        MethodExpression.java
  Log:
  Added toString method (for use in logging)
  
  Revision  Changes    Path
  1.2       +4 -0      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/MethodExpression.java
  
  Index: MethodExpression.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression/MethodExpression.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MethodExpression.java	10 Jun 2002 17:53:33 -0000	1.1
  +++ MethodExpression.java	1 Jul 2002 18:56:26 -0000	1.2
  @@ -168,4 +168,8 @@
           // use the context's logger to log the problem
           context.getLog().error("[MethodExpression] Cannot evaluate expression", e);
       }
  +    
  +    public String toString() {
  +        return "MethodExpression [method=" + method + "]";
  +    }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message