james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Liles" <d...@dynamichostings.com>
Subject ImapConstants
Date Wed, 08 Oct 2003 17:18:45 GMT
I have noticed that in the following block of code in the org.apache.james.imapserver.commands.CommandParser
package there is a reference to the constant  INBOX_NAME, but when I checked the ImapConstants
there is no reference....

Am I overlooking something?

 public String mailbox( ImapRequestLineReader request ) throws ProtocolException
    {
        String mailbox = astring( request );
        if ( mailbox.equalsIgnoreCase( ImapConstants.INBOX_NAME ) ) {
            return ImapConstants.INBOX_NAME;
        }
        else {
            return mailbox;
        }
    }

Mime
View raw message