410afde18973d073e8467b92db0a3b2de59175c2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getService(key String) : Provider.Service renamed to public getServices(key String) : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Services | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public getProvidersList() : List<Provider> moved from class org.apache.harmony.security.fortress.Services to class java.security.Security & inlined to public getProviders(filter Map<String,String>) : Provider[] | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type service : Provider.Service to services : ArrayList<Provider.Service> in method private ServiceCacheEntry(algorithm String, cacheVersion int, services ArrayList<Provider.Service>) in class org.apache.harmony.security.fortress.Engine.ServiceCacheEntry | From | To | |
Rename Variable | 3 | ||
Rename Variable service : Provider.Service to services : ArrayList<Provider.Service> in method public getInstance(algorithm String, param Object) : SpiAndProvider in class org.apache.harmony.security.fortress.Engine | From | To | |
Rename Variable p : Provider[] to providers : ArrayList<Provider> in method private renumProviders() : void in class java.security.Security | From | To | |
Rename Variable service : Provider.Service to services : ArrayList<Provider.Service> in method public getServices(algorithm String) : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Engine | From | To | |
Change Return Type | 2 | ||
Change Return Type Provider.Service to ArrayList<Provider.Service> in method public getServices(key String) : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Services | From | To | |
Change Return Type Provider[] to ArrayList<Provider> in method public getProviders() : ArrayList<Provider> in class org.apache.harmony.security.fortress.Services | From | To | |
Rename Attribute | 1 | ||
Rename Attribute service : Provider.Service to services : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Engine.ServiceCacheEntry | From | To | |
Extract Variable | 1 | ||
Extract Variable algoUC : String in method public getServices(algorithm String) : ArrayList<Provider.Service> from class org.apache.harmony.security.fortress.Engine | From | To | |
Change Variable Type | 4 | ||
Change Variable Type service : Provider.Service to services : ArrayList<Provider.Service> in method public getServices(algorithm String) : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Engine | From | To | |
Change Variable Type e : Enumeration to e : Enumeration<?> in method public getAlgorithmProperty(algName String, propName String) : String in class java.security.Security | From | To | |
Change Variable Type service : Provider.Service to services : ArrayList<Provider.Service> in method public getInstance(algorithm String, param Object) : SpiAndProvider in class org.apache.harmony.security.fortress.Engine | From | To | |
Change Variable Type p : Provider[] to providers : ArrayList<Provider> in method private renumProviders() : void in class java.security.Security | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type providersNames : Map<String,Provider> to providersNames : HashMap<String,Provider> in class org.apache.harmony.security.fortress.Services | From | To | |
Change Attribute Type service : Provider.Service to services : ArrayList<Provider.Service> in class org.apache.harmony.security.fortress.Engine.ServiceCacheEntry | From | To | |
Change Attribute Type services : Map<String,Provider.Service> to services : HashMap<String,ArrayList<Provider.Service>> in class org.apache.harmony.security.fortress.Services | From | To | |
Change Attribute Type providers : List<Provider> to providers : ArrayList<Provider> in class org.apache.harmony.security.fortress.Services | From | To | |
Extract Method | 1 | ||
Extract Method public getServices(algorithm String) : ArrayList<Provider.Service> extracted from public getInstance(algorithm String, param Object) : SpiAndProvider in class org.apache.harmony.security.fortress.Engine | From | To | |
Rename Parameter | 2 | ||
Rename Parameter service : Provider.Service to services : ArrayList<Provider.Service> in method private ServiceCacheEntry(algorithm String, cacheVersion int, services ArrayList<Provider.Service>) in class org.apache.harmony.security.fortress.Engine.ServiceCacheEntry | From | To | |
Rename Parameter service : String to serviceName : String in method public Engine(serviceName String) in class org.apache.harmony.security.fortress.Engine | From | To |