You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/04/26 12:53:04 UTC

svn commit: r1740997 - /tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java

Author: markt
Date: Tue Apr 26 10:53:04 2016
New Revision: 1740997

URL: http://svn.apache.org/viewvc?rev=1740997&view=rev
Log:
Tweak formatting. Fix an IDE nit.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java?rev=1740997&r1=1740996&r2=1740997&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java Tue Apr 26 10:53:04 2016
@@ -239,6 +239,8 @@ public class SSLHostConfigCertificate {
         }
     }
 
-    private static enum StoreType { KEYSTORE, PEM };
-
+    private static enum StoreType {
+        KEYSTORE,
+        PEM
+    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1740997 - /tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java

Posted by Emmanuel Bourg <eb...@apache.org>.
Le 26/04/2016 12:53, markt@apache.org a écrit :

> Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java?rev=1740997&r1=1740996&r2=1740997&view=diff
> ==============================================================================
> --- tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java (original)
> +++ tomcat/trunk/java/org/apache/tomcat/util/net/SSLHostConfigCertificate.java Tue Apr 26 10:53:04 2016
> @@ -239,6 +239,8 @@ public class SSLHostConfigCertificate {
>          }
>      }
>  
> -    private static enum StoreType { KEYSTORE, PEM };
> -
> +    private static enum StoreType {
> +        KEYSTORE,
> +        PEM
> +    }
>  }

The static keyword could be removed too, inner enums are implicitly
static (IntelliJ complains about it). There are ~20 enums in other
classes declared static too.

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org