a86693629e865ab88a639df7e121266521b9e3cb
Files Diff
- Added: 5
- Removed: 4
- Renamed: 0
- Modified: 110
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getMessage() : String renamed to private makeMessage(recordOperation int, rid ORID, databaseVersion ORecordVersion, recordVersion ORecordVersion) : String in class com.orientechnologies.orient.core.exception.OConcurrentModificationException | From | To | |
Push Down Method | 7 | ||
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public OSecurityAccessException(message String, component ODurableComponent, errorCode OErrorCode, databaseName String) from class com.orientechnologies.orient.core.exception.OSecurityAccessException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public OIndexEngineException(message String, component ODurableComponent, errorCode OErrorCode) from class com.orientechnologies.orient.core.index.OIndexEngineException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public OIndexEngineException(message String, component ODurableComponent) from class com.orientechnologies.orient.core.index.OIndexEngineException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public OSecurityAccessException(message String, component ODurableComponent, databaseName String) from class com.orientechnologies.orient.core.exception.OSecurityAccessException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public OSecurityException(message String, component ODurableComponent, errorCode OErrorCode) from class com.orientechnologies.orient.core.exception.OSecurityException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public ONeedRetryException(message String, cause Throwable, component ODurableComponent, errorCode OErrorCode) from class com.orientechnologies.common.concur.ONeedRetryException | From | To | |
Push Down Method public OException(message String, cause Throwable) from class com.orientechnologies.common.exception.OException to public ONeedRetryException(message String, component ODurableComponent, errorCode OErrorCode) from class com.orientechnologies.common.concur.ONeedRetryException | From | To | |
Pull Up Method | 3 | ||
Pull Up Method public getMessage() : String from class com.orientechnologies.orient.core.exception.OQueryParsingException to private makeMessage(position int, text String, message String) : String from class com.orientechnologies.orient.core.sql.OCommandSQLParsingException | From | To | |
Pull Up Method public getMessage() : String from class com.orientechnologies.orient.core.sql.OCommandSQLParsingException to public getMessage() : String from class com.orientechnologies.orient.core.exception.OCoreException | From | To | |
Pull Up Method public OInvalidStorageEncryptionKeyException(message String, cause Throwable) from class com.orientechnologies.orient.core.exception.OInvalidStorageEncryptionKeyException to public OSecurityException(message String, component ODurableComponent, errorCode OErrorCode) from class com.orientechnologies.orient.core.exception.OSecurityException | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type cause : InterruptedException to message : String in method public OInterruptedException(message String) in class com.orientechnologies.common.concur.lock.OInterruptedException | From | To | |
Change Parameter Type cause : Throwable to component : ODurableComponent in method public OIndexEngineException(message String, component ODurableComponent) in class com.orientechnologies.orient.core.index.OIndexEngineException | From | To | |
Change Parameter Type cause : Throwable to component : ODurableComponent in method public OSecurityException(message String, component ODurableComponent) in class com.orientechnologies.orient.core.exception.OSecurityException | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.orientechnologies.orient.core.storage.cache.OBlockedPageException moved and renamed to com.orientechnologies.common.exception.OSystemException | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.orientechnologies.orient.core.exception.OCoreException from classes [com.orientechnologies.common.concur.ONeedRetryException, com.orientechnologies.common.concur.lock.OModificationOperationProhibitedException, com.orientechnologies.orient.core.command.script.OCommandScriptException, com.orientechnologies.orient.core.exception.OCommandExecutionException, com.orientechnologies.orient.core.exception.OConfigurationException, com.orientechnologies.orient.core.exception.ODatabaseException, com.orientechnologies.orient.core.exception.OFetchException, com.orientechnologies.orient.core.exception.ORecordNotFoundException, com.orientechnologies.orient.core.exception.OSchemaException, com.orientechnologies.orient.core.exception.OSecurityException, com.orientechnologies.orient.core.exception.OSequenceException, com.orientechnologies.orient.core.exception.OSerializationException, com.orientechnologies.orient.core.exception.OStorageException, com.orientechnologies.orient.core.exception.OTransactionException, com.orientechnologies.orient.core.exception.OValidationException, com.orientechnologies.orient.core.index.OIndexEngineException, com.orientechnologies.orient.core.index.OIndexException, com.orientechnologies.orient.core.index.sbtree.local.OSBTreeException, com.orientechnologies.orient.core.sql.OCommandSQLParsingException, com.orientechnologies.orient.core.storage.ORecordDuplicatedException, com.orientechnologies.orient.core.storage.impl.local.paginated.OOfflineClusterException] | From | To | |
Extract Interface | 1 | ||
Extract Interface com.orientechnologies.common.exception.OUserException from classes [com.orientechnologies.common.concur.lock.OModificationOperationProhibitedException, com.orientechnologies.orient.core.exception.OConcurrentModificationException, com.orientechnologies.orient.core.exception.ORecordNotFoundException, com.orientechnologies.orient.core.exception.OSecurityAccessException, com.orientechnologies.orient.core.exception.OValidationException, com.orientechnologies.orient.core.storage.ORecordDuplicatedException] | From | To | |
Rename Parameter | 4 | ||
Rename Parameter string : String to message : String in method public OSystemException(message String) in class com.orientechnologies.common.exception.OSystemException | From | To | |
Rename Parameter cause : Throwable to component : ODurableComponent in method public OSecurityException(message String, component ODurableComponent) in class com.orientechnologies.orient.core.exception.OSecurityException | From | To | |
Rename Parameter cause : InterruptedException to message : String in method public OInterruptedException(message String) in class com.orientechnologies.common.concur.lock.OInterruptedException | From | To | |
Rename Parameter cause : Throwable to component : ODurableComponent in method public OIndexEngineException(message String, component ODurableComponent) in class com.orientechnologies.orient.core.index.OIndexEngineException | From | To |