commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r397125 - /jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
Date Wed, 26 Apr 2006 07:16:15 GMT
Author: dion
Date: Wed Apr 26 00:16:13 2006
New Revision: 397125

URL: http://svn.apache.org/viewcvs?rev=397125&view=rev
Log:
Checkstyle

Modified:
    jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java

Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java?rev=397125&r1=397124&r2=397125&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
(original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/junit/Asserter.java
Wed Apr 26 00:16:13 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003,2004 The Apache Software Foundation.
+ * Copyright 2003-2006 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -37,16 +37,24 @@
  */
 public class Asserter extends Assert {
 
+    /** variables used during asserts. */
     private final Map variables = new HashMap();
+    /** context to use during asserts. */
     private final JexlContext context = JexlHelper.createContext();
 
-    public Asserter() {}
+    /**
+     * 
+     * Create an asserter.
+     */
+    public Asserter() {
+
+    }
 
     /**
      * This constructor will register the given variableValue as the
      * "this" variable.
      * 
-     * @param variableValue
+     * @param variableValue 'this'.
      */
     public Asserter(Object variableValue) {
         setVariable("this", variableValue);
@@ -54,7 +62,7 @@
 
     /**
      * Performs an assertion that the value of the given Jexl expression 
-     * evaluates to the given expected value
+     * evaluates to the given expected value.
      * 
      * @param expression is the Jexl expression to evaluate
      * @param expected is the expected value of the expression
@@ -74,8 +82,8 @@
      * Puts a variable of a certain name in the context so that it can be used from
      * assertion expressions.
      * 
-     * @param name
-     * @param value
+     * @param name variable name
+     * @param value variable value
      */
     public void setVariable(String name, Object value) {
         variables.put(name, value);



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


Mime
View raw message