james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Updated: (JAMES-245) Deprecated in imap2
Date Wed, 14 Apr 2004 06:25:43 GMT
The following issue has been updated:

    Updater: Noel J. Bergman (mailto:noel@devtech.com)
       Date: Tue, 13 Apr 2004 11:24 PM
    Comment:
Deprecation warnings are hardly critical bugs.  The entire repository area is up for changing
in HEAD, hence the warnings.  In fact, those classes are only experimentally present in the
Mailet API in HEAD.

What did you mean by "Then james doesn't work"?  That is the only thing of any concern, and
you didn't explain.
    Changes:
             priority changed from Critical to Trivial
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/JAMES-245?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-245

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-245
    Summary: Deprecated in imap2
       Type: Bug

     Status: Unassigned
   Priority: Trivial

    Project: James
 Components: 
             IMAPServer
   Versions:
             3.0

   Assignee: 
   Reporter: Mauro Braggio

    Created: Fri, 2 Apr 2004 2:29 AM
    Updated: Tue, 13 Apr 2004 11:24 PM
Environment: Linux Suse 8.2. VM 1.4.2_02

Description:
Compiling james with imap2 i've many errors of deprecation: see below
Then james doesn't work.


compile-main:
     [echo] Compiling James Java sources
    [javac] Compiling 212 source files to /home/anna/CVS/james-server/proposals/imap2/build/classes
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/core/AbstractJamesService.java:425:
warning: org.apache.avalon.excalibur.thread.ThreadPool in org.apache.avalon.excalibur.thread
has been deprecated
    [javac]                     (org.apache.avalon.excalibur.thread.ThreadPool)threadPool);
    [javac]                                                        ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:504:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         User user = users.getUserByName(username);
    [javac]                          ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:680:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:685:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser aliasUser = (JamesUser) users.getUserByName(alias);
    [javac]                                                ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:733:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         User baseuser = users.getUserByName(username);
    [javac]                              ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:785:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java:818:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]         JamesUser user = (JamesUser) users.getUserByName(username);
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:132:
warning: storeMail(org.apache.mailet.MailAddress,org.apache.mailet.MailAddress,javax.mail.internet.MimeMessage)
in org.apache.mailet.MailetContext has been deprecated
    [javac]                     getMailetContext().storeMail(
    [javac]                                     ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:154:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                 if ((JamesUser) localusers.getUserByName(username)
    [javac]                                           ^
    [javac] /home/anna/CVS/james-server/src/java/org/apache/james/transport/mailets/LocalDelivery.java:157:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                         (JamesUser) localusers.getUserByName(username);
    [javac]                                               ^
    [javac] 10 warnings
     [copy] Copying 14 files to /home/anna/CVS/james-server/proposals/imap2/build/classes

compile-proposal:
     [echo] Compiling the imap2 proposal.
    [javac] Compiling 62 source files to /home/anna/CVS/james-server/proposals/imap2/build/classes
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/JamesImap.java:95:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]                 user = ( JamesUser ) getLocalusers().getUserByName( username );
    [javac]                                                   ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/store/SimpleMessageAttributes.java:107:
warning: toString(java.util.Date) in org.apache.mailet.dates.RFC822DateFormat has been deprecated
    [javac]         internalDateString = RFC822DateFormat.toString(internalDate); // not right
format
    [javac]                                              ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/ImapServer.java:110:
warning: ServiceException(java.lang.String) in org.apache.avalon.framework.service.ServiceException
has been deprecated
    [javac]             throw new ServiceException( "The user repository could not be found."
);
    [javac]                   ^
    [javac] /home/anna/CVS/james-server/proposals/imap2/java/org/apache/james/imapserver/commands/LoginCommand.java:49:
warning: getUserByName(java.lang.String) in org.apache.mailet.UsersRepository has been deprecated
    [javac]             User user = session.getUsers().getUserByName( userid );
    [javac]                                         ^
    [javac] 4 warnings
     [copy] Copying 3 files to /home/anna/CVS/james-server/proposals/imap2/build/classes



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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