de2c7ee82d354f7c04349ca848016facde6796df
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getAvailableActiveBrokers() : List<String> renamed to public getAvailableBrokers() : List<LoadReport> in class com.yahoo.pulsar.discovery.service.ZookeeperCacheLoader | From | To | |
Rename Method public getAvailableActiveBrokers() : List<String> renamed to public getAvailableBrokers() : List<String> in class com.yahoo.pulsar.discovery.service.ZookeeperCacheLoader | From | To | |
Rename Variable | 1 | ||
Rename Variable next : int to nextIdx : int in method package nextBroker() : LoadReport in class com.yahoo.pulsar.discovery.service.DiscoveryServiceServlet | From | To | |
Inline Method | 1 | ||
Inline Method public availableActiveBrokers() : List<String> inlined to package nextBroker() : LoadReport in class com.yahoo.pulsar.discovery.service.DiscoveryServiceServlet | From | To | |
Change Return Type | 2 | ||
Change Return Type List<String> to List<LoadReport> in method public getAvailableBrokers() : List<LoadReport> in class com.yahoo.pulsar.discovery.service.ZookeeperCacheLoader | From | To | |
Change Return Type String to LoadReport in method package nextBroker() : LoadReport in class com.yahoo.pulsar.discovery.service.DiscoveryServiceServlet | From | To | |
Rename Class | 1 | ||
Rename Class com.yahoo.pulsar.discovery.service.DiscoveryService renamed to com.yahoo.pulsar.discovery.service.DiscoveryServiceServlet | From | To | |
Extract Variable | 1 | ||
Extract Variable brokersCount : int in method package nextBroker() : LoadReport from class com.yahoo.pulsar.discovery.service.DiscoveryServiceServlet | From | To | |
Change Variable Type | 4 | ||
Change Variable Type discovery : DiscoveryService to discovery : DiscoveryServiceServlet in method public testTlsEnable() : void in class com.yahoo.pulsar.discovery.service.DiscoveryServiceTest | From | To | |
Change Variable Type discovery : DiscoveryService to discovery : DiscoveryServiceServlet in method public testRiderectUrlWithServerStarted() : void in class com.yahoo.pulsar.discovery.service.DiscoveryServiceTest | From | To | |
Change Variable Type discovery : DiscoveryService to discovery : DiscoveryServiceServlet in method public testNextBroker() : void in class com.yahoo.pulsar.discovery.service.DiscoveryServiceTest | From | To | |
Change Variable Type list : List<String> to list : List<LoadReport> in method public testZookeeperCacheLoader() : void in class com.yahoo.pulsar.discovery.service.ZookeeperCacheLoaderTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type zooKeeperSessionTimeoutMillis : long to zooKeeperSessionTimeoutMillis : int in class com.yahoo.pulsar.discovery.service.ZookeeperCacheLoader | From | To |