1d5bd2567e122750e21a283179f5650543d42f25
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable resource : Policy to policy : Policy in method public create(representation AbstractPolicyRepresentation, resourceServer ResourceServer) : Policy in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.PolicyCache | From | To | |
Change Variable Type | 6 | ||
Change Variable Type query : PolicyListQuery to query : Q in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.PolicyCache | From | To | |
Change Variable Type query : ResourceListQuery to query : Q in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Change Variable Type query : ResourceScopeListQuery to query : Q in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Extract Interface | 2 | ||
Extract Interface org.keycloak.models.cache.infinispan.authorization.entities.PolicyQuery from classes [org.keycloak.models.cache.infinispan.authorization.entities.PolicyListQuery] | From | To | |
Extract Interface org.keycloak.models.cache.infinispan.authorization.entities.ResourceQuery from classes [org.keycloak.models.cache.infinispan.authorization.entities.ResourceListQuery] | From | To | |
Extract Method | 6 | ||
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByOwner(ownerId String, resourceServerId String) : List<Resource> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByType(type String, resourceServerId String) : List<Resource> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByName(name String, resourceServerId String) : Policy in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.PolicyCache | From | To | |
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByName(name String, resourceServerId String) : Resource in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByScope(ids List<String>, resourceServerId String) : List<Resource> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Extract Method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> extracted from public findByUri(uri String, resourceServerId String) : List<Resource> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Rename Parameter | 5 | ||
Rename Parameter ownerId : String to cacheKey : String in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Rename Parameter name : String to cacheKey : String in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.PolicyCache | From | To | |
Rename Parameter name : String to cacheKey : String in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Rename Parameter uri : String to cacheKey : String in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To | |
Rename Parameter type : String to cacheKey : String in method private cacheQuery(cacheKey String, queryType Class<Q>, resultSupplier Supplier<List<R>>, querySupplier BiFunction<Long,List<R>,Q>, resourceServerId String) : List<R> in class org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache | From | To |