Author: rdonkin
Date: Sun May 27 03:14:25 2007
New Revision: 541970

URL: http://svn.apache.org/viewvc?view=rev&rev=541970
Log:
Removed unused method.

Modified:
    
james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/commands/SelectedStateCommand.java

Modified: 
james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/commands/SelectedStateCommand.java
URL: 
http://svn.apache.org/viewvc/james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/commands/SelectedStateCommand.java?view=diff&rev=541970&r1=541969&r2=541970
==============================================================================
--- 
james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/commands/SelectedStateCommand.java
 (original)
+++ 
james/server/sandbox/seda-imap-modular/experimental-seda-imap-function/src/main/java/org/apache/james/experimental/imapserver/commands/SelectedStateCommand.java
 Sun May 27 03:14:25 2007
@@ -19,8 +19,7 @@
 
 package org.apache.james.experimental.imapserver.commands;
 
-import org.apache.james.experimental.imapserver.ImapSessionState;
-import org.apache.james.experimental.imapserver.message.IdRange;
+import org.apache.james.api.imap.ImapSessionState;
 
 /**
  * A base class for ImapCommands only valid in the SELECTED state.
@@ -36,15 +35,5 @@
     public boolean validForState( ImapSessionState state )
     {
         return ( state == ImapSessionState.SELECTED );
-    }
-
-    protected boolean includes(IdRange[] idSet, long id) {
-        for (int i = 0; i < idSet.length; i++) {
-            IdRange idRange = idSet[i];
-            if (idRange.includes(id)) {
-                return true;
-            }
-        }
-        return false;
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to