ab059f64990a030bbe2a079b80850a3c2ca3f263
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private processMapValue(value Object, fieldName String, entity Entity, entityType String) : void from class org.apache.usergrid.corepersistence.util.CpEntityMapUtils to private processLocationField(value Map<String,Object>, fieldName String, entity Entity) : void from class org.apache.usergrid.persistence.model.entity.MapToEntityConverter | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type value : Object to value : Map<String,Object> in method private processLocationField(value Map<String,Object>, fieldName String, entity Entity) : void in class org.apache.usergrid.persistence.model.entity.MapToEntityConverter | From | To | |
| Rename Variable | 1 | ||
| Rename Variable unique : boolean to schemaManager : SchemaManager in method public fromMap(entity Entity, map Map<String,Object>, entityType String, topLevel boolean) : Entity in class org.apache.usergrid.corepersistence.util.CpEntityMapUtils | From | To | |
| Move Attribute | 2 | ||
| Move Attribute public jsonFactory : JsonFactory from class org.apache.usergrid.corepersistence.util.CpEntityMapUtils to private jsonFactory : JsonFactory from class org.apache.usergrid.persistence.model.entity.EntityToMapConverter | From | To | |
| Move Attribute public jsonFactory : JsonFactory from class org.apache.usergrid.corepersistence.util.CpEntityMapUtils to private jsonFactory : JsonFactory from class org.apache.usergrid.persistence.model.entity.MapToEntityConverter | From | To | |
| Extract Variable | 1 | ||
| Extract Variable unique : boolean in method public fromMap(entity Entity, map Map<String,Object>, schemaManager SchemaManager, entityType String, topLevel boolean) : Entity from class org.apache.usergrid.persistence.model.entity.MapToEntityConverter | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type unique : boolean to schemaManager : SchemaManager in method public fromMap(entity Entity, map Map<String,Object>, entityType String, topLevel boolean) : Entity in class org.apache.usergrid.corepersistence.util.CpEntityMapUtils | From | To | |
| Change Variable Type location : Location to location : Map in method public testGeolocationEntities() : void in class org.apache.usergrid.persistence.GeoIT | From | To | |
| Extract Interface | 1 | ||
| Extract Interface org.apache.usergrid.persistence.model.collection.SchemaManager from classes [org.apache.usergrid.persistence.Schema] | From | To | |
| Extract Method | 1 | ||
| Extract Method private processLocationField(value Map<String,Object>, fieldName String, entity Entity) : void extracted from private processMapValue(value Object, fieldName String, entity Entity) : void in class org.apache.usergrid.persistence.model.entity.MapToEntityConverter | From | To |