55e36acfc0ce6c3d32341d83921ce584f362a6bf
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method protected exists(message String) : ErrorResponseException renamed to protected existsError(message String) : ErrorResponseException in class org.keycloak.partialimport.AbstractPartialImport | From | To | |
Rename Method protected updateRole(rep RoleRepresentation, role RoleModel) : void renamed to protected deleteRole(role RoleModel) : void in class org.keycloak.partialimport.RealmRolesPartialImport.RoleHelper | From | To | |
Replace Variable With Attribute | 4 | ||
Replace Variable With Attribute resourcesToOverwrite : Set<T> to toOverwrite : Set<T> in method public prepare(partialImportRep PartialImportRepresentation, realm RealmModel, session KeycloakSession) : void in class org.keycloak.partialimport.AbstractPartialImport | From | To | |
Replace Variable With Attribute resourcesToSkip : Map<String,Set<RoleRepresentation>> to toSkip : Map<String,Set<RoleRepresentation>> in method public prepare(partialImportRep PartialImportRepresentation, realm RealmModel, session KeycloakSession) : void in class org.keycloak.partialimport.ClientRolesPartialImport | From | To | |
Replace Variable With Attribute resourcesToOverwrite : Map<String,Set<RoleRepresentation>> to toOverwrite : Map<String,Set<RoleRepresentation>> in method public prepare(partialImportRep PartialImportRepresentation, realm RealmModel, session KeycloakSession) : void in class org.keycloak.partialimport.ClientRolesPartialImport | From | To | |
Replace Variable With Attribute resourcesToSkip : Set<T> to toSkip : Set<T> in method public prepare(partialImportRep PartialImportRepresentation, realm RealmModel, session KeycloakSession) : void in class org.keycloak.partialimport.AbstractPartialImport | From | To | |
Extract Method | 3 | ||
Extract Method protected remove(realm RealmModel, session KeycloakSession, user UserRepresentation) : void extracted from public overwrite(realm RealmModel, session KeycloakSession, user UserRepresentation) : void in class org.keycloak.partialimport.UsersPartialImport | From | To | |
Extract Method public deleteRole(realm RealmModel, roleRep RoleRepresentation) : void extracted from public overwrite(realm RealmModel, session KeycloakSession, roleRep RoleRepresentation) : void in class org.keycloak.partialimport.RealmRolesPartialImport | From | To | |
Extract Method protected remove(realm RealmModel, session KeycloakSession, clientRep ClientRepresentation) : void extracted from public overwrite(realm RealmModel, session KeycloakSession, clientRep ClientRepresentation) : void in class org.keycloak.partialimport.ClientsPartialImport | From | To |