95b7f1d29a5e2dadd70a56fca5faa006c5bd74fc
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method package currentTime() : long from class org.apache.hadoop.util.LightWeightCache.Clock to public monotonicNowNanos() : long from class org.apache.hadoop.util.Time | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type clock : Clock to timer : Timer in method package LightWeightCache(recommendedLength int, sizeLimit int, creationExpirationPeriod long, accessExpirationPeriod long, timer Timer) in class org.apache.hadoop.util.LightWeightCache | From | To | |
Rename Attribute | 2 | ||
Rename Attribute clock : Clock to timer : Timer in class org.apache.hadoop.util.LightWeightCache | From | To | |
Rename Attribute nowMillis : long to nowNanos : long in class org.apache.hadoop.util.FakeTimer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type clock : Clock to timer : Timer in class org.apache.hadoop.util.LightWeightCache | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public advanceNanos(advNanos long) : void extracted from package check() : void in class org.apache.hadoop.util.TestLightWeightCache.LightWeightCacheTestCase & moved to class org.apache.hadoop.util.FakeTimer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter clock : Clock to timer : Timer in method package LightWeightCache(recommendedLength int, sizeLimit int, creationExpirationPeriod long, accessExpirationPeriod long, timer Timer) in class org.apache.hadoop.util.LightWeightCache | From | To |