james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [3/4] james-project git commit: Checkstype and Eclipse fixes
Date Wed, 18 Apr 2018 11:43:06 GMT
Checkstype and Eclipse fixes


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

Branch: refs/heads/master
Commit: e5fcb2ab521a3329e024b53efd2b1dbc8c7b1ce8
Parents: 117ccbb
Author: Raphael Ouazana <raphael.ouazana@linagora.com>
Authored: Tue Apr 17 16:58:57 2018 +0200
Committer: benwa <btellier@linagora.com>
Committed: Wed Apr 18 18:42:25 2018 +0700

----------------------------------------------------------------------
 .../test/java/org/apache/james/mailbox/MailboxManagerTest.java   | 2 +-
 .../org/apache/james/container/spring/tool/James23Importer.java  | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/e5fcb2ab/mailbox/api/src/test/java/org/apache/james/mailbox/MailboxManagerTest.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/test/java/org/apache/james/mailbox/MailboxManagerTest.java b/mailbox/api/src/test/java/org/apache/james/mailbox/MailboxManagerTest.java
index 0b9614d..87338ca 100644
--- a/mailbox/api/src/test/java/org/apache/james/mailbox/MailboxManagerTest.java
+++ b/mailbox/api/src/test/java/org/apache/james/mailbox/MailboxManagerTest.java
@@ -47,10 +47,10 @@ import org.apache.james.mailbox.model.Quota;
 import org.apache.james.mailbox.model.QuotaRoot;
 import org.apache.james.mailbox.model.SearchQuery;
 import org.apache.james.mailbox.model.search.MailboxQuery;
-import org.apache.james.mime4j.dom.Message;
 import org.apache.james.mailbox.quota.QuotaCount;
 import org.apache.james.mailbox.quota.QuotaSize;
 import org.apache.james.mailbox.util.EventCollector;
+import org.apache.james.mime4j.dom.Message;
 import org.assertj.core.api.JUnitSoftAssertions;
 import org.junit.Assume;
 import org.junit.Rule;

http://git-wip-us.apache.org/repos/asf/james-project/blob/e5fcb2ab/server/container/spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
----------------------------------------------------------------------
diff --git a/server/container/spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
b/server/container/spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
index a9b2c80..42eeded 100644
--- a/server/container/spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
+++ b/server/container/spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
@@ -23,7 +23,6 @@ import java.util.Iterator;
 
 import javax.inject.Inject;
 import javax.inject.Named;
-import javax.mail.Flags;
 import javax.mail.MessagingException;
 
 import org.apache.james.domainlist.api.DomainList;
@@ -131,9 +130,6 @@ public class James23Importer {
      */
     public void importMailsFromJames23(String james23MailRepositoryPath) throws MessagingException,
MailRepositoryStoreException, UsersRepositoryException, MailboxException, DomainListException
{
 
-        Flags flags = new Flags();
-        boolean isRecent = false;
-
         Iterator<String> james23userRepositoryIterator = james23UsersRepository.list();
 
         while (james23userRepositoryIterator.hasNext()) {


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