55f747ecd0deaf2fcbd664b2195742aa14ce16f3
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 24
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public find(name String) : Response renamed to public findByName(name String) : Response in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Rename Method public getResources(id String) : Response renamed to public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public update(id String, representation PolicyRepresentation) : Response from class org.keycloak.authorization.admin.PolicyService to public delete() : Response from class org.keycloak.authorization.admin.PolicyResourceService | From | To | |
| Move Method | 2 | ||
| Move Method public getDependentPolicies(id String) : Response from class org.keycloak.authorization.admin.PolicyService to public getDependentPolicies() : Response from class org.keycloak.authorization.admin.PolicyResourceService | From | To | |
| Move Method public delete(id String) : Response from class org.keycloak.authorization.admin.PolicyService to public delete() : Response from class org.keycloak.authorization.admin.PolicyResourceService | From | To | |
| Rename Variable | 2 | ||
| Rename Variable model : Policy to policy : Policy in method public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Rename Variable storeFactory : StoreFactory to providerFactory : PolicyProviderFactory in method public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Response to void in method public create(representation PolicyRepresentation) : void in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Change Return Type Response to Object in method public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type storeFactory : StoreFactory to providerFactory : PolicyProviderFactory in method public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Extract Method | 1 | ||
| Extract Method protected doSearch(firstResult Integer, maxResult Integer, filters Map<String,String[]>) : List<Object> extracted from public findAll(id String, name String, type String, resource String, scope String, permission Boolean, firstResult Integer, maxResult Integer) : Response in class org.keycloak.authorization.admin.PolicyService | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter id : String to type : String in method public getResource(type String) : Object in class org.keycloak.authorization.admin.PolicyService | From | To |