1e3ea744e2bffb73d4b58889306a5c9c65c6be1c
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type context : String to indexEdge : IndexEdge in method public IndexRequest(writeAlias String, applicationScope ApplicationScope, indexEdge IndexEdge, entity Entity) in class org.apache.usergrid.persistence.index.impl.IndexRequest | From | To | |
Change Parameter Type context : String to indexEdge : IndexEdge in method public createIndexDocId(applicationScope ApplicationScope, entity Entity, indexEdge IndexEdge) : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Change Parameter Type context : String to searchEdge : SearchEdge in method public createIndexDocId(applicationScope ApplicationScope, entityId Id, version UUID, searchEdge SearchEdge) : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable idparts : String[] to candidateResult : CandidateResult in method private parseResults(searchResponse SearchResponse, query ParsedQuery, limit int) : CandidateResults in class org.apache.usergrid.persistence.index.impl.EsApplicationEntityIndexImpl | From | To | |
Extract Attribute | 2 | ||
Extract Attribute public LON : String in class org.apache.usergrid.persistence.model.entity.EntityToMapConverter | From | To | |
Extract Attribute public LAT : String in class org.apache.usergrid.persistence.model.entity.EntityToMapConverter | From | To | |
Rename Attribute | 3 | ||
Rename Attribute ENTITYID_ID_FIELDNAME : String to ENTITY_ID_FIELDNAME : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Rename Attribute SEPARATOR : String to FIELD_SEPERATOR : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Rename Attribute ENTITY_CONTEXT_FIELDNAME : String to EDGE_SEARCH_FIELDNAME : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Change Variable Type | 1 | ||
Change Variable Type idparts : String[] to candidateResult : CandidateResult in method private parseResults(searchResponse SearchResponse, query ParsedQuery, limit int) : CandidateResults in class org.apache.usergrid.persistence.index.impl.EsApplicationEntityIndexImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public parseIndexDocId(documentId String) : CandidateResult extracted from private parseResults(searchResponse SearchResponse, query ParsedQuery, limit int) : CandidateResults in class org.apache.usergrid.persistence.index.impl.EsApplicationEntityIndexImpl & moved to class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Rename Parameter | 3 | ||
Rename Parameter context : String to indexEdge : IndexEdge in method public IndexRequest(writeAlias String, applicationScope ApplicationScope, indexEdge IndexEdge, entity Entity) in class org.apache.usergrid.persistence.index.impl.IndexRequest | From | To | |
Rename Parameter context : String to indexEdge : IndexEdge in method public createIndexDocId(applicationScope ApplicationScope, entity Entity, indexEdge IndexEdge) : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To | |
Rename Parameter context : String to searchEdge : SearchEdge in method public createIndexDocId(applicationScope ApplicationScope, entityId Id, version UUID, searchEdge SearchEdge) : String in class org.apache.usergrid.persistence.index.impl.IndexingUtils | From | To |