aedef5ecd2284adada02daf84228b1d3ec26e2cc
Files Diff
- Added: 16
- Removed: 2
- Renamed: 0
- Modified: 49
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public namespaceGet(namespace NamespaceInfo, builder UriComponentsBuilder) : ResponseEntity<String> renamed to public namespacePost(namespace NamespaceInfo, builder UriComponentsBuilder) : ResponseEntity<String> in class org.geoserver.rest.catalog.NamespaceController | From | To | |
Pull Up Method | 2 | ||
Pull Up Method private cloneVectorLayerIntoWorkspace(workspace WorkspaceInfoImpl, nameSpace NamespaceInfoImpl, layerName String) : LayerInfo from class org.geoserver.wms.wms_1_3.CapabilitiesIntegrationTest to protected cloneVectorLayerIntoWorkspace(targetWorkspace WorkspaceInfo, targetNameSpace NamespaceInfo, layerName String, targetLayerName String) : LayerInfo from class org.geoserver.test.GeoServerSystemTestSupport | From | To | |
Pull Up Method package any(clazz Class<T>) : T from class org.geoserver.catalog.impl.AbstractCatalogFacade to public any(clazz Class<T>) : T from class org.geoserver.catalog.CatalogFacade | From | To | |
Move Method | 1 | ||
Move Method private buildXpathEngine(namespaces String...) : XpathEngine from class org.geoserver.test.NamespacesWfsTest to public buildXpathEngine(baseNamespaces Map<String,String>, namespaces String...) : XpathEngine from class org.geoserver.test.StationsMockData | From | To | |
Rename Variable | 4 | ||
Rename Variable ws : WorkspaceInfo to workspace : WorkspaceInfo in method private cleanAndReport(exception Exception, form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Rename Variable ns : NamespaceInfo to foundWorkspace : WorkspaceInfo in method private cleanAndReport(exception Exception, form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Rename Variable e1 : RuntimeException to exception : Exception in method private handleOnSubmit(form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Rename Variable ns : NamespaceInfo to namespace : NamespaceInfo in method private handleOnSubmit(form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Change Return Type | 1 | ||
Change Return Type MockData to StationsMockData in method protected createTestData() : StationsMockData in class org.geoserver.test.NamespacesWfsTest | From | To | |
Change Variable Type | 3 | ||
Change Variable Type ns : NamespaceInfo to foundWorkspace : WorkspaceInfo in method private cleanAndReport(exception Exception, form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Change Variable Type e1 : RuntimeException to exception : Exception in method private handleOnSubmit(form Form) : void in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Change Variable Type namespaces : Map to namespaces : Map<String,String> in method private readNamespaces(readIsolated boolean) : Map<String,String> in class org.geoserver.catalog.util.LegacyCatalogReader | From | To | |
Extract Method | 6 | ||
Extract Method private readNamespaces(readIsolated boolean) : Map<String,String> extracted from public namespaces() : Map<String,String> in class org.geoserver.catalog.util.LegacyCatalogReader | From | To | |
Extract Method private handleOnSubmit(form Form) : void extracted from public WorkspaceNewPage() in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Extract Method package importNamespaces(factory CatalogFactory, namespaces Map, isolated boolean) : void extracted from package importNamespaces(factory CatalogFactory, namespaces Map) : void in class org.geoserver.catalog.util.LegacyCatalogImporter | From | To | |
Extract Method public addWorkspace(name String, uri String, isolated boolean, catalog Catalog) : void extracted from public addWorkspace(name String, uri String, catalog Catalog) : void in class org.geoserver.data.test.SystemTestData | From | To | |
Extract Method public namespaces(namespaces Map, isolatedNamespaces List<String>) : void extracted from public namespaces(namespaces Map) : void in class org.geoserver.data.CatalogWriter | From | To | |
Extract Method private cleanAndReport(exception Exception, form Form) : void extracted from public WorkspaceNewPage() in class org.geoserver.web.data.workspace.WorkspaceNewPage | From | To | |
Rename Parameter | 1 | ||
Rename Parameter namspacePrefix : String to namespacePrefix : String in method protected removeNamespace(namespacePrefix String) : void in class org.geoserver.test.AbstractAppSchemaMockData | From | To |