Author: sebb
Date: Sun Mar 27 20:35:36 2011
New Revision: 1086030

URL: http://svn.apache.org/viewvc?rev=1086030&view=rev
Log:
Remove unused state

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java

Modified: 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java?rev=1086030&r1=1086029&r2=1086030&view=diff
==============================================================================
--- 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java 
(original)
+++ 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java 
Sun Mar 27 20:35:36 2011
@@ -45,8 +45,6 @@ public class IMAP extends SocketClient
     {
         /** A constant representing the state where the client is not yet 
connected to a server. */
         DISCONNECTED_STATE,
-        /**  A constant representing the initial state. */
-        INITIAL_STATE,
         /**  A constant representing the "not authenticated" state. */
         NOT_AUTH_STATE,
         /**  A constant representing the "authenticated" state. */
@@ -291,7 +289,7 @@ public class IMAP extends SocketClient
     **/
     public int sendCommandWithID(String commandID, int command) throws 
IOException
     {
-        return sendCommandWithID(commandID, IMAPCommand.getCommand(command), 
null);
+        return sendCommandWithID(commandID, command, null);
     }
 
     /**


Reply via email to