james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matth...@apache.org
Subject svn commit: r1726764 - in /james/project/trunk: mailbox/api/src/main/java/org/apache/james/mailbox/ mailbox/api/src/main/java/org/apache/james/mailbox/model/ mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/ mailbox/store/src/main/ja...
Date Tue, 26 Jan 2016 10:38:46 GMT
Author: matthieu
Date: Tue Jan 26 10:38:45 2016
New Revision: 1726764

URL: http://svn.apache.org/viewvc?rev=1726764&view=rev
Log:
JAMES-1669 remove unneccessary semicolons

Modified:
    james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/MessageManager.java
    james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxACL.java
    james/project/trunk/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
    james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageMapper.java
    james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/BaseSubjectComparator.java
    james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/InternalDateComparator.java
    james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/UidComparator.java
    james/project/trunk/mpt/core/src/main/java/org/apache/james/mpt/helper/CreateScript.java
    james/project/trunk/protocols/api/src/main/java/org/apache/james/protocols/api/AbstractResponse.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ACLResponse.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ListRightsResponse.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/MyRightsResponse.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java
    james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/encode/FetchResponseEncoderNoExtensionsTest.java
    james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/processor/base/MailboxEventAnalyserTest.java
    james/project/trunk/protocols/pop3/src/test/java/org/apache/james/protocols/pop3/AbstractPOP3ServerTest.java
    james/project/trunk/protocols/smtp/src/test/java/org/apache/james/protocols/smtp/core/fastfail/DNSRBLHandlerTest.java
    james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/QuotaModule.java
    james/project/trunk/server/container/filesystem-api/src/test/java/org/apache/james/filesystem/api/AbstractFileSystemTest.java
    james/project/trunk/server/container/util-java8/src/test/java/org/apache/james/util/streams/CollectorsTest.java
    james/project/trunk/server/data/data-api/src/main/java/org/apache/james/rrt/lib/Mapping.java
    james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/JmapRequestParserImpl.java
    james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Method.java
    james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationTokenResponse.java
    james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Operator.java

Modified: james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/MessageManager.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/MessageManager.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/MessageManager.java
(original)
+++ james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/MessageManager.java
Tue Jan 26 10:38:45 2016
@@ -214,7 +214,7 @@ public interface MessageManager {
              * Only return the "always set" metadata as documented above
              */
             NO_COUNT
-        };
+        }
 
         /**
          * Gets the UIDs of recent messages if requested or an empty

Modified: james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxACL.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxACL.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxACL.java
(original)
+++ james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxACL.java
Tue Jan 26 10:38:45 2016
@@ -199,7 +199,7 @@ public interface MailboxACL {
          */
         MailboxACLRights union(MailboxACLRights toAdd) throws UnsupportedRightException;
 
-    };
+    }
 
     /**
      * Allows distinguishing between users, groups and special names (see
@@ -212,18 +212,18 @@ public interface MailboxACL {
         EditMode getEditMode();
 
         MailboxACLRights getRights();
-    };
+    }
 
     enum NameType {
         group, special, user
-    };
+    }
 
     /**
      * Special name literals.
      */
     enum SpecialName {
         anybody, authenticated, owner
-    };
+    }
 
     /**
      * SETACL third argument prefix

Modified: james/project/trunk/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
(original)
+++ james/project/trunk/mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java
Tue Jan 26 10:38:45 2016
@@ -1014,7 +1014,7 @@ public class LuceneMessageSearchIndex<Id
                 break;
             case DisplayFrom:
                 if (reverse) {
-                    sf = FIRST_FROM_MAILBOX_DISPLAY_SORT_REVERSE;;
+                    sf = FIRST_FROM_MAILBOX_DISPLAY_SORT_REVERSE;
                 } else {
                     sf = FIRST_FROM_MAILBOX_DISPLAY_SORT;
                 }

Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageMapper.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageMapper.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageMapper.java
(original)
+++ james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/mail/MessageMapper.java
Tue Jan 26 10:38:45 2016
@@ -168,9 +168,9 @@ public interface MessageMapper<Id extend
      * @return lastUid
      * @throws MailboxException
      */
-    long getLastUid(Mailbox<Id> mailbox) throws MailboxException;;
-    
-    
+    long getLastUid(Mailbox<Id> mailbox) throws MailboxException;
+
+
     /**
      * Return the higest mod-sequence which were used for storing a MailboxMessage in the
{@link Mailbox}
      * 

Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/BaseSubjectComparator.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/BaseSubjectComparator.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/BaseSubjectComparator.java
(original)
+++ james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/BaseSubjectComparator.java
Tue Jan 26 10:38:45 2016
@@ -27,7 +27,7 @@ public class BaseSubjectComparator exten
 
 
 
-    private final static Comparator<MailboxMessage<?>> BASESUBJECT = new BaseSubjectComparator();;
+    private final static Comparator<MailboxMessage<?>> BASESUBJECT = new BaseSubjectComparator();
     private final static Comparator<MailboxMessage<?>> REVERSE_BASESUBJECT =
new ReverseComparator(BASESUBJECT);
 
     

Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/InternalDateComparator.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/InternalDateComparator.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/InternalDateComparator.java
(original)
+++ james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/InternalDateComparator.java
Tue Jan 26 10:38:45 2016
@@ -29,7 +29,7 @@ import org.apache.james.mailbox.store.ma
 public class InternalDateComparator  implements Comparator<MailboxMessage<?>>{
 
 
-    private final static Comparator<MailboxMessage<?>> INTERNALDATE = new InternalDateComparator();;
+    private final static Comparator<MailboxMessage<?>> INTERNALDATE = new InternalDateComparator();
     private final static Comparator<MailboxMessage<?>> REVERSE_INTERNALDATE =
new ReverseComparator(INTERNALDATE);
 
     

Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/UidComparator.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/UidComparator.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/UidComparator.java
(original)
+++ james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/search/comparator/UidComparator.java
Tue Jan 26 10:38:45 2016
@@ -29,7 +29,7 @@ import org.apache.james.mailbox.store.ma
 public class UidComparator implements Comparator<MailboxMessage<?>>{
 
 
-    private final static Comparator<MailboxMessage<?>> UID = new UidComparator();;
+    private final static Comparator<MailboxMessage<?>> UID = new UidComparator();
     private final static Comparator<MailboxMessage<?>> REVERSE_UID = new ReverseComparator(UID);
 
     

Modified: james/project/trunk/mpt/core/src/main/java/org/apache/james/mpt/helper/CreateScript.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mpt/core/src/main/java/org/apache/james/mpt/helper/CreateScript.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/mpt/core/src/main/java/org/apache/james/mpt/helper/CreateScript.java
(original)
+++ james/project/trunk/mpt/core/src/main/java/org/apache/james/mpt/helper/CreateScript.java
Tue Jan 26 10:38:45 2016
@@ -359,7 +359,6 @@ public class CreateScript {
         builder.setMailbox("base").select();
         builder.setMailbox("BOGUS").select();
         builder.setMailbox("WHATEVER").select();
-        ;
         builder.setMailbox("BOGUS").delete();
         builder.setMailbox("WHATEVER").delete();
         builder.setMailbox(originalMailbox).delete();

Modified: james/project/trunk/protocols/api/src/main/java/org/apache/james/protocols/api/AbstractResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/api/src/main/java/org/apache/james/protocols/api/AbstractResponse.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/api/src/main/java/org/apache/james/protocols/api/AbstractResponse.java
(original)
+++ james/project/trunk/protocols/api/src/main/java/org/apache/james/protocols/api/AbstractResponse.java
Tue Jan 26 10:38:45 2016
@@ -31,7 +31,7 @@ public abstract class AbstractResponse i
 
 
     private String retCode = null;
-    protected final List<CharSequence> lines = new LinkedList<CharSequence>();;
+    protected final List<CharSequence> lines = new LinkedList<CharSequence>();
     private boolean endSession = false;
     
     protected AbstractResponse() {

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ACLResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ACLResponse.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ACLResponse.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ACLResponse.java
Tue Jan 26 10:38:45 2016
@@ -84,6 +84,6 @@ public final class ACLResponse implement
         }
         
         return result.toString();
-    };
+    }
 
 }

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ListRightsResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ListRightsResponse.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ListRightsResponse.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/ListRightsResponse.java
Tue Jan 26 10:38:45 2016
@@ -83,6 +83,6 @@ public final class ListRightsResponse im
         }
 
         return result.toString();
-    };
+    }
 
 }

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/MyRightsResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/MyRightsResponse.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/MyRightsResponse.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/message/response/MyRightsResponse.java
Tue Jan 26 10:38:45 2016
@@ -73,6 +73,6 @@ public final class MyRightsResponse impl
         .append(myRights.toString());
         
         return result.toString();
-    };
+    }
 
 }

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/processor/base/SelectedMailboxImpl.java
Tue Jan 26 10:38:45 2016
@@ -72,7 +72,7 @@ public class SelectedMailboxImpl impleme
     }
     
     private final long sessionId;
-    private final Set<Long> flagUpdateUids = new TreeSet<Long>();;
+    private final Set<Long> flagUpdateUids = new TreeSet<Long>();
     private final Flags.Flag uninterestingFlag = Flags.Flag.RECENT;
     private final Set<Long> expungedUids = new TreeSet<Long>();
 
@@ -83,7 +83,7 @@ public class SelectedMailboxImpl impleme
 
     private boolean applicableFlagsChanged;
     
-    private final SortedMap<Integer, Long> msnToUid =new TreeMap<Integer, Long>();;
+    private final SortedMap<Integer, Long> msnToUid =new TreeMap<Integer, Long>();
 
     private final SortedMap<Long, Integer> uidToMsn = new TreeMap<Long, Integer>();
 

Modified: james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/encode/FetchResponseEncoderNoExtensionsTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/encode/FetchResponseEncoderNoExtensionsTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/encode/FetchResponseEncoderNoExtensionsTest.java
(original)
+++ james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/encode/FetchResponseEncoderNoExtensionsTest.java
Tue Jan 26 10:38:45 2016
@@ -123,8 +123,7 @@ public class FetchResponseEncoderNoExten
             allowing(stubStructure).getParameters(); will(returnValue(parameterList));
             allowing(stubStructure).getEncoding(); will(returnValue("7BIT"));
             ignoring(stubStructure);
-           
-           ;
+
         }});
         final FakeImapSession fakeImapSession = new FakeImapSession();
         encoder.doEncode(message, composer, fakeImapSession);

Modified: james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/processor/base/MailboxEventAnalyserTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/processor/base/MailboxEventAnalyserTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/processor/base/MailboxEventAnalyserTest.java
(original)
+++ james/project/trunk/protocols/imap/src/test/java/org/apache/james/imap/processor/base/MailboxEventAnalyserTest.java
Tue Jan 26 10:38:45 2016
@@ -493,8 +493,8 @@ public class MailboxEventAnalyserTest {
         public boolean isCompressionActive() {
             return false;
         }
-    };
-    
+    }
+
 
     @Test
     public void testShouldBeNoSizeChangeOnOtherEvent() throws Exception {

Modified: james/project/trunk/protocols/pop3/src/test/java/org/apache/james/protocols/pop3/AbstractPOP3ServerTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/pop3/src/test/java/org/apache/james/protocols/pop3/AbstractPOP3ServerTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/pop3/src/test/java/org/apache/james/protocols/pop3/AbstractPOP3ServerTest.java
(original)
+++ james/project/trunk/protocols/pop3/src/test/java/org/apache/james/protocols/pop3/AbstractPOP3ServerTest.java
Tue Jan 26 10:38:45 2016
@@ -159,8 +159,8 @@ public abstract class AbstractPOP3Server
 
             // try to retrieve message that not exist
             mInfo = client.listUniqueIdentifier(10);
-            assertThat(mInfo).isNull();;
-            
+            assertThat(mInfo).isNull();
+
             assertThat(client.logout()).isTrue();
            
         } finally {

Modified: james/project/trunk/protocols/smtp/src/test/java/org/apache/james/protocols/smtp/core/fastfail/DNSRBLHandlerTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/smtp/src/test/java/org/apache/james/protocols/smtp/core/fastfail/DNSRBLHandlerTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/protocols/smtp/src/test/java/org/apache/james/protocols/smtp/core/fastfail/DNSRBLHandlerTest.java
(original)
+++ james/project/trunk/protocols/smtp/src/test/java/org/apache/james/protocols/smtp/core/fastfail/DNSRBLHandlerTest.java
Tue Jan 26 10:38:45 2016
@@ -99,7 +99,6 @@ public class DNSRBLHandlerTest {
                 if (hostname == null) {
                     return res;
                 }
-                ;
                 if ("2.0.0.127.bl.spamcop.net.".equals(hostname)) {
                     res.add("Blocked - see http://www.spamcop.net/bl.shtml?127.0.0.2");
                 }

Modified: james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/QuotaModule.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/QuotaModule.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/QuotaModule.java
(original)
+++ james/project/trunk/server/container/cassandra-guice/src/main/java/org/apache/james/modules/server/QuotaModule.java
Tue Jan 26 10:38:45 2016
@@ -32,7 +32,7 @@ public class QuotaModule extends Abstrac
     @Override
     protected void configure() {
         bind(QuotaManager.class).to(NoQuotaManager.class);
-        bind(QuotaRootResolver.class).to(DefaultQuotaRootResolver.class).in(Scopes.SINGLETON);;
+        bind(QuotaRootResolver.class).to(DefaultQuotaRootResolver.class).in(Scopes.SINGLETON);
     }
     
 }

Modified: james/project/trunk/server/container/filesystem-api/src/test/java/org/apache/james/filesystem/api/AbstractFileSystemTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/container/filesystem-api/src/test/java/org/apache/james/filesystem/api/AbstractFileSystemTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/container/filesystem-api/src/test/java/org/apache/james/filesystem/api/AbstractFileSystemTest.java
(original)
+++ james/project/trunk/server/container/filesystem-api/src/test/java/org/apache/james/filesystem/api/AbstractFileSystemTest.java
Tue Jan 26 10:38:45 2016
@@ -114,7 +114,7 @@ public abstract class AbstractFileSystem
 
     public final void emptyInputShouldThrowReturnEmptyPathFile() throws Exception {
         File file = fileSystem.getFile("");
-        assertThat(file.getPath()).isEmpty();;
+        assertThat(file.getPath()).isEmpty();
     }
 
     @Test

Modified: james/project/trunk/server/container/util-java8/src/test/java/org/apache/james/util/streams/CollectorsTest.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/container/util-java8/src/test/java/org/apache/james/util/streams/CollectorsTest.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/container/util-java8/src/test/java/org/apache/james/util/streams/CollectorsTest.java
(original)
+++ james/project/trunk/server/container/util-java8/src/test/java/org/apache/james/util/streams/CollectorsTest.java
Tue Jan 26 10:38:45 2016
@@ -114,7 +114,7 @@ public class CollectorsTest {
         Map<String, Integer> actual = Arrays.stream(data)
                 .collect(Collectors.toImmutableMap(x -> x.toUpperCase(), x -> x.length()));
         assertThat(actual).isInstanceOf(ImmutableMap.class);
-        assertThat(actual).containsExactly(entry("A", 1), entry("BB", 2), entry("CCC", 3));;
+        assertThat(actual).containsExactly(entry("A", 1), entry("BB", 2), entry("CCC", 3));
     }
     
 }

Modified: james/project/trunk/server/data/data-api/src/main/java/org/apache/james/rrt/lib/Mapping.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/data/data-api/src/main/java/org/apache/james/rrt/lib/Mapping.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/data/data-api/src/main/java/org/apache/james/rrt/lib/Mapping.java
(original)
+++ james/project/trunk/server/data/data-api/src/main/java/org/apache/james/rrt/lib/Mapping.java
Tue Jan 26 10:38:45 2016
@@ -23,8 +23,8 @@ package org.apache.james.rrt.lib;
 
 public interface Mapping {
 
-    enum Type { Regex, Domain, Error, Address };
-    
+    enum Type { Regex, Domain, Error, Address }
+
     Type getType();
     
     String asString();

Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/JmapRequestParserImpl.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/JmapRequestParserImpl.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/JmapRequestParserImpl.java
(original)
+++ james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/JmapRequestParserImpl.java
Tue Jan 26 10:38:45 2016
@@ -40,7 +40,7 @@ public class JmapRequestParserImpl imple
     public JmapRequestParserImpl(Set<Module> jacksonModules) {
         this.objectMapper = new ObjectMapper()
                 .registerModules(jacksonModules)
-                .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);;
+                .configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
     }
 
     @Override

Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Method.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Method.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Method.java
(original)
+++ james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/methods/Method.java
Tue Jan 26 10:38:45 2016
@@ -115,7 +115,7 @@ public interface Method {
                 return toStringHelper(this).add("name", name).toString();
             }
         }
-    };
+    }
 
 
     Request.Name requestHandled();

Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationTokenResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationTokenResponse.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationTokenResponse.java
(original)
+++ james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/ContinuationTokenResponse.java
Tue Jan 26 10:38:45 2016
@@ -40,7 +40,7 @@ public class ContinuationTokenResponse {
         public String toString() {
             return value;
         }
-    };
+    }
 
     public static Builder builder() {
         return new Builder();

Modified: james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Operator.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Operator.java?rev=1726764&r1=1726763&r2=1726764&view=diff
==============================================================================
--- james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Operator.java
(original)
+++ james/project/trunk/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/Operator.java
Tue Jan 26 10:38:45 2016
@@ -28,5 +28,5 @@ public enum Operator {
     @JsonProperty("OR")
     OR,
     @JsonProperty("NOT")
-    NOT;
+    NOT
 }



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