82a9e7bc5b7e7bd2e7371c1ee8a7d9fa46b74f97
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 44
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private recreateIndex(storage OStorage, idx ODocument) : void renamed to private rebuildNonDurableAutomaticIndex(indexDocument ODocument, index OIndexInternal<?>, indexMetadata OIndexMetadata, indexDefinition OIndexDefinition) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Rename Method private restoreFromBegging() : OLogSequenceNumber renamed to private restoreFromBeginning() : OLogSequenceNumber in class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage | From | To | |
Rename Method private getSortedIndexEntries(clientTx OTransaction) : TreeMap<String,OTransactionIndexChanges> renamed to private getSortedIndexOperations(clientTx OTransaction) : TreeMap<String,OTransactionIndexChanges> in class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type transaction : OTransaction to transaction : OBasicTransaction in method private getTransactionChanges(transaction OBasicTransaction) : OLuceneTxChanges in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Change Parameter Type transaction : OTransaction to transaction : OBasicTransaction in method private resetTransactionChanges(transaction OBasicTransaction) : void in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Change Parameter Type operation : OPERATION to operation : OTransactionIndexChanges.OPERATION in method public OTransactionRecordIndexOperation(index String, key Object, operation OTransactionIndexChanges.OPERATION) in class com.orientechnologies.orient.core.tx.OTransactionRecordIndexOperation | From | To | |
Inline Method | 1 | ||
Inline Method private createAutomaticIndex(idx ODocument, index OIndexInternal<?>, indexMetadata OIndexMetadata, indexDefinition OIndexDefinition) : void inlined to private rebuildNonDurableAutomaticIndex(indexDocument ODocument, index OIndexInternal<?>, indexMetadata OIndexMetadata, indexDefinition OIndexDefinition) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Rename Variable | 4 | ||
Rename Variable idxs : OTrackedSet<ODocument> to indexes : OTrackedSet<ODocument> in method public toStream() : ODocument in class com.orientechnologies.orient.core.index.OIndexManagerShared | From | To | |
Rename Variable idxs : Collection<ODocument> to indexDocuments : Collection<ODocument> in method protected fromStream() : void in class com.orientechnologies.orient.core.index.OIndexManagerShared | From | To | |
Rename Variable operation : ORecordOperation to recordOperation : ORecordOperation in method private invokeCallbacks() : void in class com.orientechnologies.orient.core.tx.OTransactionOptimistic | From | To | |
Rename Variable idx : ODocument to index : ODocument in method private recreateIndexes(indexesToRebuild Collection<ODocument>, db ODatabaseDocumentEmbedded) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Change Return Type | 3 | ||
Change Return Type void to ORecordOperation in method public addRecord(iRecord ORecord, iStatus byte, iClusterName String) : ORecordOperation in class com.orientechnologies.orient.server.tx.OTransactionOptimisticServer | From | To | |
Change Return Type ODatabaseDocument to ODatabaseDocumentInternal in method public getDatabaseIfDefined() : ODatabaseDocumentInternal in class com.orientechnologies.orient.core.record.ORecordAbstract | From | To | |
Change Return Type void to ORecordOperation in method public addRecord(iRecord ORecord, iStatus byte, iClusterName String) : ORecordOperation in class com.orientechnologies.orient.core.tx.OTransactionOptimistic | From | To | |
Move Attribute | 1 | ||
Move Attribute public DELETED_RECORD : ORecord from class com.orientechnologies.orient.core.tx.OTransactionRealAbstract to public DELETED_RECORD : ORecord from class com.orientechnologies.orient.core.storage.OBasicTransaction | From | To | |
Move Class | 1 | ||
Move Class com.orientechnologies.orient.core.tx.OTransactionRealAbstract.OTransactionRecordIndexOperation moved to com.orientechnologies.orient.core.tx.OTransactionRecordIndexOperation | From | To | |
Change Variable Type | 7 | ||
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method public callEngine(engine OIndexEngine) : Long in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique.getSize.callIndexEngine | From | To | |
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method public put(key Object, singleValue OIdentifiable) : OLuceneIndexNotUnique in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Change Variable Type database : ODatabaseDocument to database : ODatabaseDocumentInternal in method public setDirty() : ORecordAbstract in class com.orientechnologies.orient.core.record.impl.ODocument | From | To | |
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method public get(key Object) : Set<OIdentifiable> in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method public remove(key Object, value OIdentifiable) : boolean in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method public setDirty() : ORecordAbstract in class com.orientechnologies.orient.core.record.impl.ODocument | From | To | |
Change Variable Type transaction : OTransaction to transaction : OBasicTransaction in method protected commitSnapshot(snapshot Map<Object,Object>) : void in class com.orientechnologies.lucene.index.OLuceneIndexNotUnique | From | To | |
Extract Variable | 2 | ||
Extract Variable clientTx : OTransaction in method private useWal() : boolean from class com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager | From | To | |
Extract Variable indexName : String in method private rebuildNonDurableAutomaticIndex(indexDocument ODocument, index OIndexInternal<?>, indexMetadata OIndexMetadata, indexDefinition OIndexDefinition) : void from class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Extract Interface | 1 | ||
Extract Interface com.orientechnologies.orient.core.storage.OBasicTransaction from classes [com.orientechnologies.orient.core.tx.OTransaction] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type operation : OPERATION to operation : OTransactionIndexChanges.OPERATION in class com.orientechnologies.orient.core.tx.OTransactionRecordIndexOperation | From | To | |
Rename Parameter | 5 | ||
Rename Parameter idx : ODocument to indexDocument : ODocument in method private addIndexAsIs(indexDocument ODocument, index OIndexInternal<?>) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Rename Parameter idx : ODocument to indexDocument : ODocument in method private rebuildNonDurableAutomaticIndex(indexDocument ODocument, index OIndexInternal<?>, indexMetadata OIndexMetadata, indexDefinition OIndexDefinition) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Rename Parameter idxs : Collection<ODocument> to indexesToRebuild : Collection<ODocument> in method private recreateIndexes(indexesToRebuild Collection<ODocument>, db ODatabaseDocumentEmbedded) : void in class com.orientechnologies.orient.core.index.OIndexManagerShared.RecreateIndexesTask | From | To | |
Rename Parameter iIndexName : String to indexName : String in method public getIndexChangesInternal(indexName String) : OTransactionIndexChanges in class com.orientechnologies.orient.core.tx.OTransactionRealAbstract | From | To | |
Rename Parameter iName : String to indexName : String in method public getIndexChangesInternal(indexName String) : OTransactionIndexChanges in class com.orientechnologies.orient.core.tx.OTransactionNoTx | From | To |