james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r690753 - in /james/jsieve/trunk/src/main/java/org/apache/jsieve: SieveParserVisitorImpl.java Test.java
Date Sun, 31 Aug 2008 18:38:48 GMT
Author: rdonkin
Date: Sun Aug 31 11:38:48 2008
New Revision: 690753

URL: http://svn.apache.org/viewvc?rev=690753&view=rev
Log:
Removed unnecessary field.

Modified:
    james/jsieve/trunk/src/main/java/org/apache/jsieve/SieveParserVisitorImpl.java
    james/jsieve/trunk/src/main/java/org/apache/jsieve/Test.java

Modified: james/jsieve/trunk/src/main/java/org/apache/jsieve/SieveParserVisitorImpl.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/src/main/java/org/apache/jsieve/SieveParserVisitorImpl.java?rev=690753&r1=690752&r2=690753&view=diff
==============================================================================
--- james/jsieve/trunk/src/main/java/org/apache/jsieve/SieveParserVisitorImpl.java (original)
+++ james/jsieve/trunk/src/main/java/org/apache/jsieve/SieveParserVisitorImpl.java Sun Aug
31 11:38:48 2008
@@ -267,7 +267,7 @@
         }
 
         context.setCoordinate(node.getCoordinate());
-        Test test = new Test(node.getName(), arguments, context);
+        Test test = new Test(node.getName(), arguments);
         ((List) data).add(test);
         return data;
     }

Modified: james/jsieve/trunk/src/main/java/org/apache/jsieve/Test.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/src/main/java/org/apache/jsieve/Test.java?rev=690753&r1=690752&r2=690753&view=diff
==============================================================================
--- james/jsieve/trunk/src/main/java/org/apache/jsieve/Test.java (original)
+++ james/jsieve/trunk/src/main/java/org/apache/jsieve/Test.java Sun Aug 31 11:38:48 2008
@@ -20,7 +20,6 @@
 package org.apache.jsieve;
 
 import org.apache.commons.logging.Log;
-import org.apache.jsieve.exception.LookupException;
 import org.apache.jsieve.exception.SieveException;
 import org.apache.jsieve.mail.MailAdapter;
 import org.apache.jsieve.tests.ExecutableTest;
@@ -33,8 +32,7 @@
  * <code>test = identifier arguments</code>
  */
 public class Test implements Executable {
-    
-    private SieveContext context;
+
 
     /** The name of this Test */
     private String fieldName;
@@ -69,9 +67,8 @@
      * @param name
      * @param arguments
      */
-    public Test(String name, Arguments arguments, SieveContext context) {
+    public Test(String name, Arguments arguments) {
         this();
-        this.context = context;
         setName(name);
         setArguments(arguments);
     }



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


Mime
View raw message