james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matth...@apache.org
Subject svn commit: r1726763 - in /james/project/trunk: mailbox/api/src/main/java/org/apache/james/mailbox/model/ mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/ mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/ mailet/maile...
Date Tue, 26 Jan 2016 10:32:40 GMT
Author: matthieu
Date: Tue Jan 26 10:32:39 2016
New Revision: 1726763

URL: http://svn.apache.org/viewvc?rev=1726763&view=rev
Log:
JAMES-1669 remove useless enum modifiers

Modified:
    james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/SearchQuery.java
    james/project/trunk/mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/OpenJPAMessageManager.java
    james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/InputStreamContent.java
    james/project/trunk/mailet/mailetdocs-maven-plugin/src/main/java/org/apache/james/mailet/MailetMatcherDescriptor.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/ImapSessionState.java
    james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/message/response/StatusResponse.java
    james/project/trunk/server/container/core/src/main/java/org/apache/james/core/filesystem/ResourceFactory.java

Modified: james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/SearchQuery.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/SearchQuery.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/SearchQuery.java
(original)
+++ james/project/trunk/mailbox/api/src/main/java/org/apache/james/mailbox/model/SearchQuery.java
Tue Jan 26 10:32:39 2016
@@ -48,11 +48,11 @@ public class SearchQuery implements Seri
     /**
      * The Resolution which should get used for {@link Date} searches
      */
-    public static enum DateResolution {
+    public enum DateResolution {
         Second, Minute, Hour, Day, Month, Year
     }
 
-    public static enum AddressType {
+    public enum AddressType {
         From, To, Cc, Bcc
     }
 
@@ -65,7 +65,7 @@ public class SearchQuery implements Seri
         /**
          * Specify on what to sort
          */
-        public static enum SortClause {
+        public enum SortClause {
 
             /**
              * Internal date and time of the message (internaldate)

Modified: james/project/trunk/mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/OpenJPAMessageManager.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/OpenJPAMessageManager.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/OpenJPAMessageManager.java
(original)
+++ james/project/trunk/mailbox/jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/OpenJPAMessageManager.java
Tue Jan 26 10:32:39 2016
@@ -49,7 +49,7 @@ public class OpenJPAMessageManager exten
 
     private final AdvancedFeature feature;
 
-    public static enum AdvancedFeature {
+    public enum AdvancedFeature {
         None,
         Streaming,
         Encryption

Modified: james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/InputStreamContent.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/InputStreamContent.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/InputStreamContent.java
(original)
+++ james/project/trunk/mailbox/store/src/main/java/org/apache/james/mailbox/store/streaming/InputStreamContent.java
Tue Jan 26 10:32:39 2016
@@ -33,7 +33,7 @@ public final class InputStreamContent im
     private final Message m;
     private final Type type;
 
-    public static enum Type {
+    public enum Type {
         Full,
         Body
     }

Modified: james/project/trunk/mailet/mailetdocs-maven-plugin/src/main/java/org/apache/james/mailet/MailetMatcherDescriptor.java
URL: http://svn.apache.org/viewvc/james/project/trunk/mailet/mailetdocs-maven-plugin/src/main/java/org/apache/james/mailet/MailetMatcherDescriptor.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/mailet/mailetdocs-maven-plugin/src/main/java/org/apache/james/mailet/MailetMatcherDescriptor.java
(original)
+++ james/project/trunk/mailet/mailetdocs-maven-plugin/src/main/java/org/apache/james/mailet/MailetMatcherDescriptor.java
Tue Jan 26 10:32:39 2016
@@ -34,7 +34,7 @@ public class MailetMatcherDescriptor {
 
         private final String name;
 
-        private Type(final String name) {
+        Type(final String name) {
             this.name = name;
         }
 

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/ImapSessionState.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/ImapSessionState.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/ImapSessionState.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/ImapSessionState.java
Tue Jan 26 10:32:39 2016
@@ -49,7 +49,7 @@ public enum ImapSessionState {
     /** To aid debugging */
     private final String name;
 
-    private ImapSessionState(String name) {
+    ImapSessionState(String name) {
         this.name = name;
     }
 

Modified: james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/message/response/StatusResponse.java
URL: http://svn.apache.org/viewvc/james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/message/response/StatusResponse.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/message/response/StatusResponse.java
(original)
+++ james/project/trunk/protocols/imap/src/main/java/org/apache/james/imap/api/message/response/StatusResponse.java
Tue Jan 26 10:32:39 2016
@@ -94,7 +94,7 @@ public interface StatusResponse extends
 
         private final String code;
 
-        private Type(final String code) {
+        Type(final String code) {
             this.code = code;
         }
 

Modified: james/project/trunk/server/container/core/src/main/java/org/apache/james/core/filesystem/ResourceFactory.java
URL: http://svn.apache.org/viewvc/james/project/trunk/server/container/core/src/main/java/org/apache/james/core/filesystem/ResourceFactory.java?rev=1726763&r1=1726762&r2=1726763&view=diff
==============================================================================
--- james/project/trunk/server/container/core/src/main/java/org/apache/james/core/filesystem/ResourceFactory.java
(original)
+++ james/project/trunk/server/container/core/src/main/java/org/apache/james/core/filesystem/ResourceFactory.java
Tue Jan 26 10:32:39 2016
@@ -85,7 +85,7 @@ public class ResourceFactory {
         
         private final String protocolPrefix;
         
-        private FileProtocol(String protocolPrefix) {
+        FileProtocol(String protocolPrefix) {
             this.protocolPrefix = protocolPrefix;
         }
         



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