edb0bef075ecd3aed5437a42e4d6def94638b807
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 20
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 1 | ||
| Move And Inline Method public registerInStorageConfig(root OClusterBasedStorageConfiguration) : void moved from class com.orientechnologies.orient.core.storage.cluster.v0.OPaginatedClusterV0 to class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage & inlined to private doAddCluster(clusterName String, clusterPos int) : int | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type clusterId : int to cluster : OCluster in method private setClusterStatus(cluster OCluster, iStatus OStorageClusterConfiguration.STATUS) : boolean in class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage | From | To | |
| Rename Variable | 3 | ||
| Rename Variable cluster : OCluster to clusterId : int in method public execute(iArgs Map<Object,Object>) : Object in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Rename Variable cluster : OCluster to clusterId : int in method public executeDDL(ctx OCommandContext) : OResultSet in class com.orientechnologies.orient.core.sql.parser.OAlterClusterStatement | From | To | |
| Rename Variable c : OCluster to storage : OStorage in method protected setEncryptionInternal(database ODatabaseDocumentInternal, value String) : void in class com.orientechnologies.orient.core.metadata.schema.OClassImpl | From | To | |
| Change Return Type | 2 | ||
| Change Return Type List<OCluster> to List<Integer> in method protected getClusters() : List<Integer> in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Change Return Type List<com.orientechnologies.orient.core.storage.OCluster> to List<Integer> in method private getClusters(ctx OCommandContext) : List<Integer> in class com.orientechnologies.orient.core.sql.parser.OAlterClusterStatement | From | To | |
| Split Parameter | 3 | ||
| Split Parameter config : OStorageClusterConfiguration to [name : String, id : int] in method private init(id int, name String, compression String, encryption String, encryptionKey String, conflictStrategy String) : void in class com.orientechnologies.orient.core.storage.cluster.v0.OPaginatedClusterV0 | From | To | |
| Split Parameter config : OStorageClusterConfiguration to [name : String, id : int] in method private init(id int, name String, compression String, encryption String, encryptionKey String, conflictStrategy String) : void in class com.orientechnologies.orient.core.storage.cluster.v1.OPaginatedClusterV1 | From | To | |
| Split Parameter config : OStorageClusterConfiguration to [name : String, id : int] in method private init(id int, name String, conflictStrategy String) : void in class com.orientechnologies.orient.core.storage.cluster.v2.OPaginatedClusterV2 | From | To | |
| Extract Variable | 1 | ||
| Extract Variable database : ODatabaseDocumentInternal in method public execute(iArgs Map<Object,Object>) : Object from class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Change Variable Type | 7 | ||
| Change Variable Type cluster : OCluster to clusterId : int in method public executeDDL(ctx OCommandContext) : OResultSet in class com.orientechnologies.orient.core.sql.parser.OAlterClusterStatement | From | To | |
| Change Variable Type result : List<com.orientechnologies.orient.core.storage.OCluster> to result : List<Integer> in method private getClusters(ctx OCommandContext) : List<Integer> in class com.orientechnologies.orient.core.sql.parser.OAlterClusterStatement | From | To | |
| Change Variable Type c : OCluster to storage : OStorage in method protected setEncryptionInternal(database ODatabaseDocumentInternal, value String) : void in class com.orientechnologies.orient.core.metadata.schema.OClassImpl | From | To | |
| Change Variable Type clustersToUpdate : List<com.orientechnologies.orient.core.storage.OCluster> to clustersToUpdate : List<Integer> in method public executeDDL(ctx OCommandContext) : OResultSet in class com.orientechnologies.orient.core.sql.parser.OAlterClusterStatement | From | To | |
| Change Variable Type result : List<OCluster> to result : List<Integer> in method protected getClusters() : List<Integer> in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Change Variable Type cluster : OCluster to clusterId : int in method public execute(iArgs Map<Object,Object>) : Object in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Change Variable Type clusters : List<OCluster> to clusters : List<Integer> in method public execute(iArgs Map<Object,Object>) : Object in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAlterCluster | From | To | |
| Extract Method | 1 | ||
| Extract Method private doGetClusterByName(clusterName String) : OCluster extracted from public getClusterByName(clusterName String) : OCluster in class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter clusterId : int to cluster : OCluster in method private setClusterStatus(cluster OCluster, iStatus OStorageClusterConfiguration.STATUS) : boolean in class com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage | From | To | |
| Rename Parameter iValue : String to value : String in method protected setEncryptionInternal(database ODatabaseDocumentInternal, value String) : void in class com.orientechnologies.orient.core.metadata.schema.OClassImpl | From | To |