4dde559a42e58acabe1294c0e2efabd4469d6121
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type record : ORecord to id : OIdentifiable in method public beforeCreateOperations(id OIdentifiable, iClusterName String) : OIdentifiable in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Rename Variable | 3 | ||
Rename Variable result : ORecordHook.RESULT to newRec : OIdentifiable in method private addRecordOperation(record ORecord, type byte, clusterName String) : ORecordOperation in class com.orientechnologies.orient.core.storage.impl.local.OMicroTransaction | From | To | |
Rename Variable hookResult : ORecordHook.RESULT to res : ORecordHook.RESULT in method public beforeCreateOperations(id OIdentifiable, iClusterName String) : OIdentifiable in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Change Variable Type | 2 | ||
Change Variable Type result : ORecordHook.RESULT to newRec : OIdentifiable in method private addRecordOperation(record ORecord, type byte, clusterName String) : ORecordOperation in class com.orientechnologies.orient.core.storage.impl.local.OMicroTransaction | From | To | |
Extract Method | 2 | ||
Extract Method public beforeUpdateOperations(id OIdentifiable, iClusterName String) : OIdentifiable extracted from public executeSaveRecord(record ORecord, clusterName String, ver int, mode OPERATION_MODE, forceCreate boolean, recordCreatedCallback ORecordCallback<? extends Number>, recordUpdatedCallback ORecordCallback<Integer>) : RET in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Extract Method public beforeCreateOperations(id OIdentifiable, iClusterName String) : OIdentifiable extracted from public executeSaveRecord(record ORecord, clusterName String, ver int, mode OPERATION_MODE, forceCreate boolean, recordCreatedCallback ORecordCallback<? extends Number>, recordUpdatedCallback ORecordCallback<Integer>) : RET in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Rename Parameter | 3 | ||
Rename Parameter record : ORecord to id : OIdentifiable in method public beforeCreateOperations(id OIdentifiable, iClusterName String) : OIdentifiable in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Rename Parameter clusterName : String to iClusterName : String in method public beforeCreateOperations(id OIdentifiable, iClusterName String) : OIdentifiable in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To | |
Rename Parameter clusterName : String to iClusterName : String in method public beforeUpdateOperations(id OIdentifiable, iClusterName String) : OIdentifiable in class com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote | From | To |