cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1570204 - /cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java
Date Thu, 20 Feb 2014 14:25:43 GMT
Author: coheigea
Date: Thu Feb 20 14:25:43 2014
New Revision: 1570204

URL: http://svn.apache.org/r1570204
Log:
Fixing few typos and doing some minor refactoring to IDP rest service


Conflicts:
	services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IDPServiceConfigs.java
	services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IDPServices.java
	services/idp/src/main/java/org/apache/cxf/fediz/service/idp/rest/IDPTrustedIdps.java

Modified:
    cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java

Modified: cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java
URL: http://svn.apache.org/viewvc/cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java?rev=1570204&r1=1570203&r2=1570204&view=diff
==============================================================================
--- cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java
(original)
+++ cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheUtil.java
Thu Feb 20 14:25:43 2014
@@ -34,7 +34,7 @@ public final class EHCacheUtil {
         CacheConfiguration cc = cacheManager.getConfiguration().getCacheConfigurations().get(key);
         if (cc == null && key.contains("-")) {
             cc = cacheManager.getConfiguration().getCacheConfigurations().get(
-                    key.substring(0, key.lastIndexOf('-') - 1));
+                    key.substring(0, key.lastIndexOf('-')));
         }
         if (cc == null) {
             cc = cacheManager.getConfiguration().getDefaultCacheConfiguration();



Mime
View raw message