4bf23cc83a7d5779d6313760c7765750a708a931
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public setEnabled(flag boolean) : void from class org.keycloak.storage.UserStorageProviderModel to public setEnabled(flag boolean) : void from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Pull Up Method public isEnabled() : boolean from class org.keycloak.storage.UserStorageProviderModel to public isEnabled() : boolean from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Move Method | 2 | ||
Move Method public dailyTimeout(hour int, minute int) : long from class org.keycloak.models.cache.infinispan.UserCacheSession to public dailyTimeout(hour int, minute int) : long from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Move Method public weeklyTimeout(day int, hour int, minute int) : long from class org.keycloak.models.cache.infinispan.UserCacheSession to public weeklyTimeout(day int, hour int, minute int) : long from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute public ENABLED : String from class org.keycloak.storage.UserStorageProviderModel to public ENABLED : String from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Pull Up Attribute private enabled : Boolean from class org.keycloak.storage.UserStorageProviderModel to private enabled : Boolean from class org.keycloak.storage.CacheableStorageProviderModel | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable loaded : Long to revision : Long in method protected cacheClient(realm RealmModel, delegate ClientModel, revision Long) : ClientModel in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Parameterize Variable model : ClientModel to delegate : ClientModel in method protected cacheClient(realm RealmModel, delegate ClientModel, revision Long) : ClientModel in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Change Variable Type | 3 | ||
Change Variable Type adapter : ClientAdapter to adapter : ClientModel in method private invalidateClient(id String) : void in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Change Variable Type adapter : ClientAdapter to adapter : ClientModel in method private roleRemovalInvalidations(roleId String, roleName String, roleContainerId String) : void in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Change Variable Type model : UserStorageProviderModel to model : CacheableStorageProviderModel in method protected validateCache(realm RealmModel, cached CachedUser) : UserModel in class org.keycloak.models.cache.infinispan.UserCacheSession | From | To | |
Extract Interface | 1 | ||
Extract Interface org.keycloak.models.cache.CachedObject from classes [org.keycloak.models.cache.infinispan.entities.AbstractRevisioned] | From | To | |
Extract Method | 2 | ||
Extract Method protected cacheClient(realm RealmModel, delegate ClientModel, revision Long) : ClientModel extracted from public getClientById(id String, realm RealmModel) : ClientModel in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Extract Method public evictRealmOnRemoval(realm RealmModel) : void extracted from public removeRealm(id String) : boolean in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type managedApplications : Map<String,ClientAdapter> to managedApplications : Map<String,ClientModel> in class org.keycloak.models.cache.infinispan.RealmCacheSession | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public shouldInvalidate(cached CachedObject) : boolean extracted from protected validateCache(realm RealmModel, cached CachedUser) : UserModel in class org.keycloak.models.cache.infinispan.UserCacheSession & moved to class org.keycloak.storage.CacheableStorageProviderModel | From | To |