6fe8b0cd64c4b4e2386d994016b465b0386ed09c
Files Diff
- Added: 8
- Removed: 1
- Renamed: 0
- Modified: 24
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public createQualifierParameter(action NewAction, context QualifierParameterContext) : NewParam from class org.sonar.server.permission.ws.PermissionsWsParametersBuilder to public createRootQualifierParameter(action WebService.NewAction, context QualifierParameterContext) : WebService.NewParam from class org.sonar.server.ws.WsParameterBuilder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type action : NewAction to action : WebService.NewAction in method public createRootQualifierParameter(action WebService.NewAction, context QualifierParameterContext) : WebService.NewParam in class org.sonar.server.ws.WsParameterBuilder | From | To | |
Move Method | 3 | ||
Move Method private buildRootQualifiersDescription(context QualifierParameterContext) : String from class org.sonar.server.permission.ws.PermissionsWsParametersBuilder to private buildRootQualifiersDescription(context QualifierParameterContext) : String from class org.sonar.server.ws.WsParameterBuilder | From | To | |
Move Method private getRootQualifiers(resourceTypes ResourceTypes) : Set<String> from class org.sonar.server.permission.ws.PermissionsWsParametersBuilder to private getRootQualifiers(resourceTypes ResourceTypes) : Set<String> from class org.sonar.server.ws.WsParameterBuilder | From | To | |
Move Method private qualifierLabel(context QualifierParameterContext, qualifier String) : String from class org.sonar.server.permission.ws.PermissionsWsParametersBuilder to private qualifierLabel(context QualifierParameterContext, qualifier String) : String from class org.sonar.server.ws.WsParameterBuilder | From | To | |
Change Return Type | 3 | ||
Change Return Type NewParam to WebService.NewParam in method public createRootQualifierParameter(action WebService.NewAction, context QualifierParameterContext) : WebService.NewParam in class org.sonar.server.ws.WsParameterBuilder | From | To | |
Change Return Type WsComponents.SearchWsResponse.Component to WsComponents.Component in method public apply(dto ComponentDto) : WsComponents.Component in class org.sonar.server.component.ws.SearchAction.ComponentDToComponentResponseFunction | From | To | |
Change Return Type void to SnapshotDto in method public insertProjectAndSnapshot(component ComponentDto) : SnapshotDto in class org.sonar.db.component.ComponentDbTester | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.ws.WsParameterBuilder from class org.sonar.server.permission.ws.PermissionsWsParametersBuilder | From | To | |
Move Class | 1 | ||
Move Class org.sonar.server.permission.ws.PermissionsWsParametersBuilder.QualifierParameterContext moved to org.sonar.server.ws.WsParameterBuilder.QualifierParameterContext | From | To | |
Extract Method | 2 | ||
Extract Method private buildQualifiersDescription(context QualifierParameterContext, qualifiers Set<String>) : String extracted from private buildRootQualifiersDescription(context QualifierParameterContext) : String in class org.sonar.server.ws.WsParameterBuilder | From | To | |
Extract Method public genericAddSortParam(possibleValues Collection<V>, defaultValue V, defaultAscending boolean, description String) : NewAction extracted from public addSortParams(possibleValues Collection<V>, defaultValue V, defaultAscending boolean) : NewAction in class org.sonar.api.server.ws.WebService.NewAction | From | To |