24d686a58de32655ab4a324b26075f6d226767a3
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public writePluginMetadata(jsonWriter JsonWriter, info PluginInfo) : void renamed to package writePluginInfo(json JsonWriter, pluginInfo PluginInfo, category String) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Method public writeMetadata(jsonWriter JsonWriter, pluginMetadata PluginInfo) : void renamed to public writePlugin(jsonWriter JsonWriter, plugin Plugin) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Method private retrieveAndSortPluginMetadata() : SortedSet<PluginInfo> renamed to private searchPluginInfoList() : SortedSet<PluginInfo> in class org.sonar.server.plugins.ws.InstalledAction | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method public writeUpdateCenterProperties(json JsonWriter, updateCenter Optional<UpdateCenter>) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Change Parameter Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method private writePlugins(jsonWriter JsonWriter, updateCenter Optional<UpdateCenter>) : void in class org.sonar.server.plugins.ws.UpdatesAction | From | To | |
Change Parameter Type pluginMetadata : PluginInfo to plugin : Plugin in method public writePlugin(jsonWriter JsonWriter, plugin Plugin) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Change Parameter Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method private writeUpgrades(jsonWriter JsonWriter, updateCenter Optional<UpdateCenter>) : void in class org.sonar.server.platform.ws.UpgradesAction | From | To | |
Change Parameter Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method private writePlugins(jsonWriter JsonWriter, updateCenter Optional<UpdateCenter>) : void in class org.sonar.server.plugins.ws.AvailableAction | From | To | |
Inline Method | 1 | ||
Inline Method public writeMetadata(jsonWriter JsonWriter, plugin Plugin) : void inlined to package writePluginInfo(json JsonWriter, pluginInfo PluginInfo, category String) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Change Return Type | 3 | ||
Change Return Type UpdateCenter to Optional<UpdateCenter> in method public getUpdateCenter(refreshUpdateCenter boolean) : Optional<UpdateCenter> in class org.sonar.server.plugins.UpdateCenterMatrixFactory | From | To | |
Change Return Type UpdateCenter to Optional<UpdateCenter> in method public getUpdateCenter() : Optional<UpdateCenter> in class org.sonar.server.plugins.UpdateCenterClient | From | To | |
Change Return Type UpdateCenter to Optional<UpdateCenter> in method public getUpdateCenter(forceRefresh boolean) : Optional<UpdateCenter> in class org.sonar.server.plugins.UpdateCenterClient | From | To | |
Rename Class | 1 | ||
Rename Class org.sonar.server.plugins.ws.PluginWSCommons.PluginToKey renamed to org.sonar.server.plugins.ws.PluginWSCommons.PluginToKeyFunction | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.sonar.server.plugins.ws.PluginWSCommons.PluginMetadataToName moved and renamed to org.sonar.core.platform.PluginInfoFunctions.PluginInfoToName | From | To | |
Move And Rename Class org.sonar.server.plugins.ws.PluginWSCommons.PluginMetadataToKey moved and renamed to org.sonar.core.platform.PluginInfoFunctions.PluginInfoToKey | From | To | |
Rename Attribute | 1 | ||
Rename Attribute client : UpdateCenterClient to underTest : UpdateCenterClient in class org.sonar.server.plugins.UpdateCenterClientTest | From | To | |
Extract Variable | 3 | ||
Extract Variable updateCenter : Optional<UpdateCenter> in method private findPluginUpdateByKey(key String) : PluginUpdate from class org.sonar.server.plugins.ws.UpdateAction | From | To | |
Extract Variable updateCenter : Optional<UpdateCenter> in method public download(pluginKey String, version Version) : void from class org.sonar.server.plugins.PluginDownloader | From | To | |
Extract Variable updateCenter : Optional<UpdateCenter> in method private findAvailablePluginByKey(key String) : PluginUpdate from class org.sonar.server.plugins.ws.InstallAction | From | To | |
Change Variable Type | 4 | ||
Change Variable Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method public handle(request Request, response Response) : void in class org.sonar.server.plugins.ws.AvailableAction | From | To | |
Change Variable Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method private writeResponse(jsonWriter JsonWriter) : void in class org.sonar.server.platform.ws.UpgradesAction | From | To | |
Change Variable Type updatePluginCenter : UpdateCenter to updatePluginCenter : Optional<UpdateCenter> in method public getUpdateCenter(refreshUpdateCenter boolean) : Optional<UpdateCenter> in class org.sonar.server.plugins.UpdateCenterMatrixFactory | From | To | |
Change Variable Type updateCenter : UpdateCenter to updateCenter : Optional<UpdateCenter> in method public handle(request Request, response Response) : void in class org.sonar.server.plugins.ws.UpdatesAction | From | To | |
Rename Parameter | 6 | ||
Rename Parameter jsonWriter : JsonWriter to json : JsonWriter in method public writeUpdateCenterProperties(json JsonWriter, updateCenter Optional<UpdateCenter>) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Parameter pluginMetadata : PluginInfo to plugin : Plugin in method public writePlugin(jsonWriter JsonWriter, plugin Plugin) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Parameter info : PluginInfo to pluginInfo : PluginInfo in method package writePluginInfo(json JsonWriter, pluginInfo PluginInfo, category String) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Parameter jsonWriter : JsonWriter to json : JsonWriter in method public writePluginUpdate(json JsonWriter, pluginUpdate PluginUpdate) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To | |
Rename Parameter jsonWriter : JsonWriter to json : JsonWriter in method package writePluginInfo(json JsonWriter, pluginInfo PluginInfo, category String) : void in class org.sonar.server.plugins.ws.PluginWSCommons | From | To |