c9e31e2df89ecb7f4426e295305b2dc00a17582c
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public clearCache(hostname String) : boolean from class io.netty.resolver.dns.DnsNameResolver to public clear(hostname String) : boolean from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type e : Entry<String,List<DnsCacheEntry>> to entries : List<DnsCacheEntry> in method private cancelExpiration(entries List<DnsCacheEntry>) : void in class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method | 8 | ||
Move Method public negativeTtl() : int from class io.netty.resolver.dns.DnsNameResolver to public negativeTtl() : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method package cache(hostname String, address InetAddress, originalTtl long) : void from class io.netty.resolver.dns.DnsNameResolver to public cache(hostname String, address InetAddress, originalTtl long, loop EventLoop) : void from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method private cancelExpiration(e Entry<String,List<DnsCacheEntry>>) : void from class io.netty.resolver.dns.DnsNameResolver to private cancelExpiration(entries List<DnsCacheEntry>) : void from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method private cachedEntries(hostname String) : List<DnsCacheEntry> from class io.netty.resolver.dns.DnsNameResolver to private cachedEntries(hostname String) : List<DnsCacheEntry> from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method package cache(hostname String, cause Throwable) : void from class io.netty.resolver.dns.DnsNameResolver to public cache(hostname String, cause Throwable, loop EventLoop) : void from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method public minTtl() : int from class io.netty.resolver.dns.DnsNameResolver to public minTtl() : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method public maxTtl() : int from class io.netty.resolver.dns.DnsNameResolver to public maxTtl() : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Method private scheduleCacheExpiration(entries List<DnsCacheEntry>, e DnsCacheEntry, ttl int) : void from class io.netty.resolver.dns.DnsNameResolver to private scheduleCacheExpiration(entries List<DnsCacheEntry>, e DnsCacheEntry, ttl int, loop EventLoop) : void from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Attribute | 3 | ||
Move Attribute private maxTtl : int from class io.netty.resolver.dns.DnsNameResolver to private maxTtl : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Attribute private negativeTtl : int from class io.netty.resolver.dns.DnsNameResolver to private negativeTtl : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Move Attribute private minTtl : int from class io.netty.resolver.dns.DnsNameResolver to private minTtl : int from class io.netty.resolver.dns.DefaultDnsCache | From | To | |
Extract Class | 1 | ||
Extract Class io.netty.resolver.dns.DefaultDnsCache from class io.netty.resolver.dns.DnsNameResolver | From | To | |
Extract Method | 2 | ||
Extract Method protected doResolve(inetHost String, promise Promise<InetAddress>, resolveCache DnsCache) : void extracted from protected doResolve(inetHost String, promise Promise<InetAddress>) : void in class io.netty.resolver.dns.DnsNameResolver | From | To | |
Extract Method protected doResolveAll(inetHost String, promise Promise<List<InetAddress>>, resolveCache DnsCache) : void extracted from protected doResolveAll(inetHost String, promise Promise<List<InetAddress>>) : void in class io.netty.resolver.dns.DnsNameResolver | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type minTtl : int to minTtl : Integer in class io.netty.resolver.dns.DnsNameResolverBuilder | From | To | |
Change Attribute Type negativeTtl : int to negativeTtl : Integer in class io.netty.resolver.dns.DnsNameResolverBuilder | From | To | |
Change Attribute Type resolveCache : ConcurrentMap<String,List<DnsCacheEntry>> to resolveCache : DnsCache in class io.netty.resolver.dns.DnsNameResolver | From | To | |
Change Attribute Type maxTtl : int to maxTtl : Integer in class io.netty.resolver.dns.DnsNameResolverBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter e : Entry<String,List<DnsCacheEntry>> to entries : List<DnsCacheEntry> in method private cancelExpiration(entries List<DnsCacheEntry>) : void in class io.netty.resolver.dns.DefaultDnsCache | From | To |