commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-333) would you provide a class used for imap protocol?
Date Mon, 28 Mar 2011 12:47:05 GMT

    [ https://issues.apache.org/jira/browse/NET-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012030#comment-13012030
] 

Sebb commented on NET-333:
--------------------------

Since generateCommandID() returns the tag, users can override the initial (and all other)
tags.

AFAIK, the test for generateCommandID() will work with any length of tag. 
It won't work if the alphabet is changed - e.g. if both upper and lower case were used. 
This could be fixed by looking for the number of tags returned before the last character repeats,
and using that instead of 26.

Agreed re comment in IMAPMail - I'll fix that.

getIMAPCommand() is correct - see:
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html#name()

> would you provide a class used for imap protocol?
> -------------------------------------------------
>
>                 Key: NET-333
>                 URL: https://issues.apache.org/jira/browse/NET-333
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: iceviewer
>         Attachments: IMAP.zip, IMAPMail.java
>
>
> would you provide a class used for imap protocol?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message