Le 26/04/2016 12:53, ma...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to