b5d81ac0334fc5aeb204f137bfcbd500c7c1086c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type flattenedEntityMap : Map to fieldsToIndex : Optional<Set<String>> in method public index(indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : EntityIndexBatch in class org.apache.usergrid.persistence.index.EntityIndexBatch | From | To | |
| Change Parameter Type flattenedEntityMap : Map to fieldsToIndex : Optional<Set<String>> in method public index(indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : EntityIndexBatch in class org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl | From | To | |
| Rename Variable | 2 | ||
| Rename Variable fieldsToIndex : Set<EntityField> to fieldsToBeFiltered : Set<EntityField> in method public convert(applicationScope ApplicationScope, indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : Map<String,Object> in class org.apache.usergrid.persistence.index.impl.EntityToMapConverter | From | To | |
| Rename Variable map : Map to fieldsToIndex : Optional<Set<String>> in method public indexEdge(applicationScope ApplicationScope, entity Entity, edge Edge) : Observable<IndexOperationMessage> in class org.apache.usergrid.corepersistence.index.IndexServiceImpl | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Map to Optional<Set<String>> in method private getFilteredStringObjectMap(applicationScope ApplicationScope, entity Entity, indexEdge IndexEdge) : Optional<Set<String>> in class org.apache.usergrid.corepersistence.index.IndexServiceImpl | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type map : Map to fieldsToIndex : Optional<Set<String>> in method public indexEdge(applicationScope ApplicationScope, entity Entity, edge Edge) : Observable<IndexOperationMessage> in class org.apache.usergrid.corepersistence.index.IndexServiceImpl | From | To | |
| Extract Method | 1 | ||
| Extract Method public convert(applicationScope ApplicationScope, indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : Map<String,Object> extracted from public convert(applicationScope ApplicationScope, indexEdge IndexEdge, entity Entity) : Map<String,Object> in class org.apache.usergrid.persistence.index.impl.EntityToMapConverter | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter flattenedEntityMap : Map to fieldsToIndex : Optional<Set<String>> in method public index(indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : EntityIndexBatch in class org.apache.usergrid.persistence.index.impl.EsEntityIndexBatchImpl | From | To | |
| Rename Parameter flattenedEntityMap : Map to fieldsToIndex : Optional<Set<String>> in method public index(indexEdge IndexEdge, entity Entity, fieldsToIndex Optional<Set<String>>) : EntityIndexBatch in class org.apache.usergrid.persistence.index.EntityIndexBatch | From | To |