43600fbf39cda4336be9736fd8c653044e3d85ee
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type taskType : TaskType to taskType : PTable.TaskType in method public addTask(conn PhoenixConnection, taskType PTable.TaskType, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void in class org.apache.phoenix.schema.task.Task | From | To | |
Change Parameter Type taskType : TaskType to taskType : PTable.TaskType in method public deleteTask(conn PhoenixConnection, taskType PTable.TaskType, ts Timestamp, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void in class org.apache.phoenix.schema.task.Task | From | To | |
Move Method | 3 | ||
Move Method public deleteTask(conn PhoenixConnection, taskType TaskType, ts Timestamp, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void from class org.apache.phoenix.coprocessor.TaskRegionObserver to public deleteTask(conn PhoenixConnection, taskType PTable.TaskType, ts Timestamp, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void from class org.apache.phoenix.schema.task.Task | From | To | |
Move Method private mutateSystemTaskTable(conn PhoenixConnection, stmt PreparedStatement, accessCheckEnabled boolean) : void from class org.apache.phoenix.coprocessor.TaskRegionObserver to private mutateSystemTaskTable(conn PhoenixConnection, stmt PreparedStatement, accessCheckEnabled boolean) : void from class org.apache.phoenix.schema.task.Task | From | To | |
Move Method public addTask(conn PhoenixConnection, taskType TaskType, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void from class org.apache.phoenix.coprocessor.TaskRegionObserver to public addTask(conn PhoenixConnection, taskType PTable.TaskType, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void from class org.apache.phoenix.schema.task.Task | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.phoenix.schema.task.Task from class org.apache.phoenix.coprocessor.TaskRegionObserver | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.phoenix.coprocessor.TaskRegionObserver.DropChildViewsTask renamed to org.apache.phoenix.coprocessor.TaskRegionObserver.SelfHealingTask | From | To | |
Merge Variable | 1 | ||
Merge Variable [tableName : String, tenantId : String, timestamp : Timestamp] to taskRecord : Task.TaskRecord in method public run() : void in class org.apache.phoenix.coprocessor.TaskRegionObserver.SelfHealingTask | From | To | |
Change Variable Type | 2 | ||
Change Variable Type task : DropChildViewsTask to task : SelfHealingTask in method public postOpen(e ObserverContext<RegionCoprocessorEnvironment>) : void in class org.apache.phoenix.coprocessor.TaskRegionObserver | From | To | |
Change Variable Type task : TaskRegionObserver.DropChildViewsTask to task : TaskRegionObserver.SelfHealingTask in method public testDropTableWithChildViews() : void in class org.apache.phoenix.end2end.DropTableWithViewsIT | From | To | |
Extract Method | 2 | ||
Extract Method public assertTaskColumns(conn Connection, expectedStatus String, taskType PTable.TaskType, expectedData String) : void extracted from public testDropTableWithChildViews() : void in class org.apache.phoenix.end2end.DropTableWithViewsIT | From | To | |
Extract Method private setValuesToAddTaskPS(stmt PreparedStatement, taskType PTable.TaskType, tenantId String, schemaName String, tableName String) : PreparedStatement extracted from public addTask(conn PhoenixConnection, taskType TaskType, tenantId String, schemaName String, tableName String, accessCheckEnabled boolean) : void in class org.apache.phoenix.schema.task.Task | From | To |