onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1610116 - in /onami/trunk: cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java
Date Sun, 13 Jul 2014 06:06:42 GMT
Author: ash2k
Date: Sun Jul 13 06:06:42 2014
New Revision: 1610116

URL: http://svn.apache.org/r1610116
Log:
Idea inspection: static method declared final

No functional changes

Modified:
    onami/trunk/cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java
    onami/trunk/configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java

Modified: onami/trunk/cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java
URL: http://svn.apache.org/viewvc/onami/trunk/cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java?rev=1610116&r1=1610115&r2=1610116&view=diff
==============================================================================
--- onami/trunk/cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java (original)
+++ onami/trunk/cache/src/main/java/org/apache/onami/cache/CacheInterceptor.java Sun Jul 13
06:06:42 2014
@@ -279,7 +279,7 @@ abstract class CacheInterceptor<A extend
         return false;
     }
 
-    private static final <T extends Throwable> boolean isEmpty( Class<? extends
T>...types )
+    private static <T extends Throwable> boolean isEmpty( Class<? extends T>...types
)
     {
         return types == null || types.length == 0;
     }

Modified: onami/trunk/configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java
URL: http://svn.apache.org/viewvc/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java?rev=1610116&r1=1610115&r2=1610116&view=diff
==============================================================================
--- onami/trunk/configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java
(original)
+++ onami/trunk/configuration/src/main/java/org/apache/onami/configuration/PropertiesIterator.java
Sun Jul 13 06:06:42 2014
@@ -40,7 +40,7 @@ final class PropertiesIterator<K, V>
      * @param properties The map configuration has to be read
      * @return A map configuration iterator
      */
-    public static final <K, V> PropertiesIterator<K, V> newPropertiesIterator(
Map<K, V> properties )
+    public static <K, V> PropertiesIterator<K, V> newPropertiesIterator( Map<K,
V> properties )
     {
         return new PropertiesIterator<K, V>( null, properties );
     }
@@ -54,7 +54,7 @@ final class PropertiesIterator<K, V>
      * @param properties the map configuration has to be read.
      * @return a map configuration iterator.
      */
-    public static final <K, V> PropertiesIterator<K, V> newPropertiesIterator(
String keyPrefix, Map<K, V> properties )
+    public static <K, V> PropertiesIterator<K, V> newPropertiesIterator( String
keyPrefix, Map<K, V> properties )
     {
         return new PropertiesIterator<K, V>( keyPrefix, properties );
     }



Mime
View raw message