2389c09d75461c1e4d3072bfacf5fbb86a625207
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public tearDown() : void from class org.apache.hadoop.hbase.replication.TestSyncReplication to public tearDown() : void from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Method public setUp() : void from class org.apache.hadoop.hbase.replication.TestSyncReplication to public setUp() : void from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Method private initTestingUtility(util HBaseTestingUtility, zkParent String) : void from class org.apache.hadoop.hbase.replication.TestSyncReplication to private initTestingUtility(util HBaseTestingUtility, zkParent String) : void from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Rename Variable | 1 | ||
Rename Variable remoteWALDirForPeer : Path to remoteWALDir : Path in method public testStandby() : void in class org.apache.hadoop.hbase.replication.TestSyncReplicationStandBy | From | To | |
Pull Up Attribute | 7 | ||
Pull Up Attribute private UTIL1 : HBaseTestingUtility from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected UTIL1 : HBaseTestingUtility from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private CF : byte[] from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected CF : byte[] from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private PEER_ID : String from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected PEER_ID : String from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private ZK_UTIL : HBaseZKTestingUtility from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected ZK_UTIL : HBaseZKTestingUtility from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private CQ : byte[] from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected CQ : byte[] from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private UTIL2 : HBaseTestingUtility from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected UTIL2 : HBaseTestingUtility from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Pull Up Attribute private TABLE_NAME : TableName from class org.apache.hadoop.hbase.replication.TestSyncReplication to protected TABLE_NAME : TableName from class org.apache.hadoop.hbase.replication.SyncReplicationTestBase | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.hbase.replication.TestSyncReplication renamed to org.apache.hadoop.hbase.replication.TestSyncReplicationStandBy | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.hbase.replication.SyncReplicationTestBase from classes [org.apache.hadoop.hbase.replication.TestSyncReplicationStandBy] | From | To | |
Change Variable Type | 2 | ||
Change Variable Type wal : DualAsyncFSWAL to wal : Optional<DualAsyncFSWAL> in method public close() : void in class org.apache.hadoop.hbase.wal.SyncReplicationWALProvider | From | To | |
Change Variable Type wal : DualAsyncFSWAL to wal : Optional<DualAsyncFSWAL> in method public shutdown() : void in class org.apache.hadoop.hbase.wal.SyncReplicationWALProvider | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type peerId2WAL : ConcurrentMap<String,DualAsyncFSWAL> to peerId2WAL : ConcurrentMap<String,Optional<DualAsyncFSWAL>> in class org.apache.hadoop.hbase.wal.SyncReplicationWALProvider | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public filterCells(edit WALEdit, mapper Function<Cell,Cell>) : void extracted from private filterCells(entry Entry) : void in class org.apache.hadoop.hbase.replication.ChainWALEntryFilter & moved to class org.apache.hadoop.hbase.regionserver.wal.WALUtil | From | To |