316053018b7147d1733f5d18625c6e4a6e777971
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public setGrantedRoles(grantedRoles List<String>) : void renamed to public setGrantedRealmRoles(grantedRealmRoles List<String>) : void in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Rename Method public getGrantedRoles() : List<String> renamed to public getGrantedRealmRoles() : List<String> in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type grantedProtocolMappers : List<String> to grantedProtocolMappers : Map<String,List<String>> in method public setGrantedProtocolMappers(grantedProtocolMappers Map<String,List<String>>) : void in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Change Parameter Type clientConsents : Map<String,UserConsentRepresentation> to clientConsents : List<UserConsentRepresentation> in method public setClientConsents(clientConsents List<UserConsentRepresentation>) : void in class org.keycloak.representations.idm.UserRepresentation | From | To | |
Rename Variable | 1 | ||
Rename Variable mapperId : String to protocolMapperName : String in method public toModel(newRealm RealmModel, consentRep UserConsentRepresentation) : UserConsentModel in class org.keycloak.models.utils.RepresentationToModel | From | To | |
Change Return Type | 2 | ||
Change Return Type List<String> to Map<String,List<String>> in method public getGrantedProtocolMappers() : Map<String,List<String>> in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Change Return Type Map<String,UserConsentRepresentation> to List<UserConsentRepresentation> in method public getClientConsents() : List<UserConsentRepresentation> in class org.keycloak.representations.idm.UserRepresentation | From | To | |
Rename Attribute | 1 | ||
Rename Attribute grantedRoles : List<String> to grantedRealmRoles : List<String> in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Change Variable Type | 1 | ||
Change Variable Type entry : Map.Entry<String,UserConsentRepresentation> to entry : Map.Entry<String,List<String>> in method public toModel(newRealm RealmModel, consentRep UserConsentRepresentation) : UserConsentModel in class org.keycloak.models.utils.RepresentationToModel | From | To | |
Extract Variable | 1 | ||
Extract Variable clientId2 : String in method public toModel(newRealm RealmModel, consentRep UserConsentRepresentation) : UserConsentModel from class org.keycloak.models.utils.RepresentationToModel | From | To | |
Extract Method | 1 | ||
Extract Method public toModel(newRealm RealmModel, consentRep UserConsentRepresentation) : UserConsentModel extracted from public createUser(session KeycloakSession, newRealm RealmModel, userRep UserRepresentation, clientMap Map<String,ClientModel>) : UserModel in class org.keycloak.models.utils.RepresentationToModel | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type grantedProtocolMappers : List<String> to grantedProtocolMappers : Map<String,List<String>> in class org.keycloak.representations.idm.UserConsentRepresentation | From | To | |
Change Attribute Type clientConsents : Map<String,UserConsentRepresentation> to clientConsents : List<UserConsentRepresentation> in class org.keycloak.representations.idm.UserRepresentation | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public toRepresentation(model UserConsentModel) : UserConsentRepresentation extracted from public exportUser(session KeycloakSession, realm RealmModel, user UserModel) : UserRepresentation in class org.keycloak.exportimport.util.ExportUtils & moved to class org.keycloak.models.utils.ModelToRepresentation | From | To | |
Rename Parameter | 1 | ||
Rename Parameter grantedRoles : List<String> to grantedRealmRoles : List<String> in method public setGrantedRealmRoles(grantedRealmRoles List<String>) : void in class org.keycloak.representations.idm.UserConsentRepresentation | From | To |