18671e7a9227babc4b868fc5dee0bbef0d4076ac
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private importEntitiesFromFile(execution JobExecution, file File, em EntityManager, rootEm EntityManager, fileImport FileImport) : void renamed to private parseEntitiesAndConnectionsFromJson(execution JobExecution, file File, em EntityManager, rootEm EntityManager, fileImport FileImport) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Rename Method public parseFileToEntities(jobExecution JobExecution) : void renamed to public downloadAndImportFile(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportService | From | To | |
Rename Method public parseFileToEntities(jobExecution JobExecution) : void renamed to public downloadAndImportFile(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Rename Variable | 4 | ||
Rename Variable file : File to bucketFile : String in method public doImport(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Rename Variable importUG : Import to importEntity : Import in method public downloadAndImportFile(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Rename Variable rooteEm : EntityManager to emManagementApp : EntityManager in method public doImport(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Rename Variable files : List<File> to bucketFiles : List<String> in method public doImport(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Inline Method | 1 | ||
Inline Method public parseFileToEntities(execution JobExecution, fileImport FileImport, file File, targetAppId UUID) : void inlined to public downloadAndImportFile(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Change Variable Type | 2 | ||
Change Variable Type file : File to bucketFile : String in method public doImport(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Change Variable Type files : List<File> to bucketFiles : List<String> in method public doImport(jobExecution JobExecution) : void in class org.apache.usergrid.management.importer.ImportServiceImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable bucketName : String in method public doImport(jobExecution JobExecution) : void from class org.apache.usergrid.management.importer.ImportServiceImpl | From | To |