james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Closed: (JAMES-245) Deprecated in imap2
Date Sat, 28 Oct 2006 13:27:19 GMT
     [ http://issues.apache.org/jira/browse/JAMES-245?page=all ]

Norman Maurer closed JAMES-245.
-------------------------------

    Resolution: Fixed

The code works and danny allready open a issue for deprecating

> Deprecated in imap2
> -------------------
>
>                 Key: JAMES-245
>                 URL: http://issues.apache.org/jira/browse/JAMES-245
>             Project: James
>          Issue Type: Bug
>          Components: IMAPServer
>    Affects Versions: Trunk
>         Environment: Linux Suse 8.2. VM 1.4.2_02
>            Reporter: Mauro Braggio
>            Priority: Trivial
>
> 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

-- 
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
-
For more information on JIRA, 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