james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [11/11] james-project git commit: Revert "JAMES-1862 Fix Eclipse warnings"
Date Tue, 06 Dec 2016 10:42:16 GMT
Revert "JAMES-1862 Fix Eclipse warnings"

This reverts commit 737b687a82bd2004afbd863429b642879a3d3d19.


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b38510b9
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b38510b9
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b38510b9

Branch: refs/heads/master
Commit: b38510b9a0abd9343aa6274a95bb2a49fcbbd8cb
Parents: 060cdc1
Author: Antoine Duprat <aduprat@apache.org>
Authored: Tue Dec 6 11:41:14 2016 +0100
Committer: Antoine Duprat <aduprat@apache.org>
Committed: Tue Dec 6 11:41:14 2016 +0100

----------------------------------------------------------------------
 .../org/apache/james/transport/mailets/jsieve/FileIntoAction.java | 2 ++
 .../java/org/apache/james/transport/mailets/jsieve/Poster.java    | 1 +
 .../java/org/apache/james/imapserver/netty/IMAPServerFactory.java | 1 +
 .../java/org/apache/james/imapserver/netty/OioIMAPServer.java     | 1 +
 .../main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java | 3 ++-
 5 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b38510b9/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/FileIntoAction.java
----------------------------------------------------------------------
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/FileIntoAction.java
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/FileIntoAction.java
index 6a56482..1c91bba 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/FileIntoAction.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/FileIntoAction.java
@@ -19,6 +19,7 @@
 package org.apache.james.transport.mailets.jsieve;
 
 import javax.mail.MessagingException;
+import javax.mail.internet.MimeMessage;
 
 import org.apache.commons.logging.Log;
 import org.apache.jsieve.mail.Action;
@@ -67,6 +68,7 @@ public class FileIntoAction implements MailAction {
      * @param context not null
      * @throws MessagingException
      */
+    @SuppressWarnings("deprecation")
     public void execute(ActionFileInto anAction, Mail aMail, final ActionContext context)
throws MessagingException
     {
         String destinationMailbox = anAction.getDestination();

http://git-wip-us.apache.org/repos/asf/james-project/blob/b38510b9/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/Poster.java
----------------------------------------------------------------------
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/Poster.java
b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/Poster.java
index ae94779..c86d352 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/Poster.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/Poster.java
@@ -20,6 +20,7 @@
 package org.apache.james.transport.mailets.jsieve;
 
 import javax.mail.MessagingException;
+import javax.mail.internet.MimeMessage;
 
 import org.apache.mailet.Mail;
 

http://git-wip-us.apache.org/repos/asf/james-project/blob/b38510b9/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java
b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java
index 351dac3..cb92875 100644
--- a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java
+++ b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServerFactory.java
@@ -28,6 +28,7 @@ import org.apache.james.filesystem.api.FileSystem;
 import org.apache.james.imap.api.process.ImapProcessor;
 import org.apache.james.imap.decode.ImapDecoder;
 import org.apache.james.imap.encode.ImapEncoder;
+import org.apache.james.metrics.api.Metric;
 import org.apache.james.metrics.api.MetricFactory;
 import org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer;
 import org.apache.james.protocols.lib.netty.AbstractServerFactory;

http://git-wip-us.apache.org/repos/asf/james-project/blob/b38510b9/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/OioIMAPServer.java
----------------------------------------------------------------------
diff --git a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/OioIMAPServer.java
b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/OioIMAPServer.java
index 90e4d4a..c3ce882 100644
--- a/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/OioIMAPServer.java
+++ b/server/protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/OioIMAPServer.java
@@ -21,6 +21,7 @@ package org.apache.james.imapserver.netty;
 import org.apache.james.imap.api.process.ImapProcessor;
 import org.apache.james.imap.decode.ImapDecoder;
 import org.apache.james.imap.encode.ImapEncoder;
+import org.apache.james.metrics.api.Metric;
 import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
 import org.jboss.netty.channel.socket.oio.OioServerSocketChannelFactory;
 import org.jboss.netty.handler.execution.ExecutionHandler;

http://git-wip-us.apache.org/repos/asf/james-project/blob/b38510b9/server/queue/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java
----------------------------------------------------------------------
diff --git a/server/queue/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java
b/server/queue/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java
index 36770d6..eea2319 100644
--- a/server/queue/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java
+++ b/server/queue/queue-jms/src/main/java/org/apache/james/queue/jms/JMSMailQueueFactory.java
@@ -21,10 +21,11 @@ package org.apache.james.queue.jms;
 import javax.inject.Inject;
 import javax.jms.ConnectionFactory;
 
+import org.apache.james.metrics.api.Metric;
 import org.apache.james.metrics.api.MetricFactory;
+import org.apache.james.queue.api.MailQueueItemDecoratorFactory;
 import org.apache.james.queue.api.MailQueue;
 import org.apache.james.queue.api.MailQueueFactory;
-import org.apache.james.queue.api.MailQueueItemDecoratorFactory;
 import org.apache.james.queue.library.AbstractMailQueueFactory;
 
 /**


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