0073204b257860ad104cde29d3795b3c633f4759
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 4 | ||
| Pull Up Method public testClose() : void from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to public testClose() : void from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Pull Up Method private startThreads(maxStreams int) : void from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to protected startThreads() : void from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Pull Up Method public setup() : void from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to public setup(maxStreams int) : void from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Pull Up Method private joinThreads() : void from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to protected joinThreads() : void from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Rename Variable | 2 | ||
| Rename Variable r2 : SafetyNetCloseableRegistry to ignored2 : SafetyNetCloseableRegistry in method public testReaperThreadSpawnAndStop() : void in class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest | From | To | |
| Rename Variable r1 : SafetyNetCloseableRegistry to ignored : SafetyNetCloseableRegistry in method public testReaperThreadSpawnAndStop() : void in class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute private streamOpenThreads : ProducerThread[] from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to protected streamOpenThreads : ProducerThread[] from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Pull Up Attribute private unclosedCounter : AtomicInteger from class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest to protected unclosedCounter : AtomicInteger from class org.apache.flink.core.fs.AbstractCloseableRegistryTest | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.flink.core.fs.SafetyNetCloseableRegistryTest.TestStream moved to org.apache.flink.core.fs.AbstractCloseableRegistryTest.TestStream | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.flink.core.fs.AbstractCloseableRegistryTest from classes [org.apache.flink.core.fs.SafetyNetCloseableRegistryTest] | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public getNumberOfRegisteredCloseables() : int extracted from public size() : int in class org.apache.flink.streaming.api.operators.StateSnapshotContextSynchronousImplTest.InsightCloseableRegistry & moved to class org.apache.flink.util.AbstractCloseableRegistry | From | To | |
| Extract And Move Method public isCloseableRegistered(c Closeable) : boolean extracted from public contains(closeable Closeable) : boolean in class org.apache.flink.streaming.api.operators.StateSnapshotContextSynchronousImplTest.InsightCloseableRegistry & moved to class org.apache.flink.util.AbstractCloseableRegistry | From | To |