956d2f118fb59dd154c7c2c969621369ac4a9787
Files Diff
- Added: 67
- Removed: 66
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type validatorSpi : CertPathValidatorSpi to paramGenSpi : AlgorithmParameterGeneratorSpi in method protected AlgorithmParameterGenerator(paramGenSpi AlgorithmParameterGeneratorSpi, provider Provider, algorithm String) in class java.security.AlgorithmParameterGenerator | From | To | |
Move Method | 2 | ||
Move Method public validate(certPath CertPath, params CertPathParameters) : CertPathValidatorResult from class java.security.cert.CertPathValidator to public validate(certPath CertPath, params CertPathParameters) : CertPathValidatorResult from class java.security.cert.CertPathValidator | From | To | |
Move Method public getDefaultType() : String from class java.security.cert.CertPathValidator to public getDefaultType() : String from class java.security.cert.CertPathValidator | From | To | |
Move Source Folder | 2 | ||
Move Source Folder jre_emul/android/platform/libcore/ojluni/src/objc to jre_emul/android/libcore/luni/src/main | From | To | |
Move Source Folder jre_emul/android/platform/libcore/ojluni to jre_emul/android/libcore/luni | From | To | |
Move Attribute | 5 | ||
Move Attribute private provider : Provider from class java.security.AlgorithmParameters to private provider : Provider from class java.security.MessageDigest | From | To | |
Move Attribute private type : String from class java.security.KeyStore.Builder.FileBuilder to private type : String from class java.security.KeyStore | From | To | |
Move Attribute private algorithm : String from class java.security.KeyPairGenerator to private algorithm : String from class java.security.SecureRandom | From | To | |
Move Attribute private algorithm : String from class java.security.AlgorithmParameters to private algorithm : String from class java.security.MessageDigest | From | To | |
Move Attribute private provider : Provider from class java.security.KeyStore.Builder.FileBuilder to private provider : Provider from class java.security.KeyStore | From | To | |
Extract Class | 4 | ||
Extract Class java.security.cert.CertPathValidator from class java.security.cert.CertPathValidator | From | To | |
Extract Class java.security.MessageDigest from class java.security.AlgorithmParameters | From | To | |
Extract Class java.security.SecureRandom from class java.security.KeyPairGenerator | From | To | |
Extract Class java.security.KeyStore from class java.security.KeyStore.Builder.FileBuilder | From | To | |
Rename Class | 3 | ||
Rename Class java.security.spec.RSAPublicKeySpec renamed to java.security.spec.RSAPrivateKeySpec | From | To | |
Rename Class java.security.KeyStore.Builder.FileBuilder renamed to java.security.KeyStore.Builder.BuilderImpl | From | To | |
Rename Class java.security.spec.RSAPrivateKeySpec renamed to java.security.spec.RSAPublicKeySpec | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class java.security.cert.CertPathValidator moved and renamed to java.security.AlgorithmParameterGenerator | From | To | |
Change Variable Type | 5 | ||
Change Variable Type argClass : Class to cl : ClassLoader in method public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | From | To | |
Change Variable Type clazz : Class to implementation : Class<?> in method public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | From | To | |
Change Variable Type t : Iterator<Service> to provider : Provider in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Change Variable Type instance : Instance to sap : Engine.SpiAndProvider in method public getInstance(algorithm String) : AlgorithmParameterGenerator in class java.security.AlgorithmParameterGenerator | From | To | |
Extract Variable | 1 | ||
Extract Variable spi : Object in method public getInstance(algorithm String) : KeyPairGenerator from class java.security.KeyPairGenerator | From | To | |
Extract Method | 2 | ||
Extract Method private stateToString(state int) : String extracted from public toString() : String in class java.security.Signature | From | To | |
Extract Method private getSignature(algorithm String, provider Provider) : Signature extracted from public getInstance(algorithm String, provider String) : Signature in class java.security.Signature | From | To | |
Rename Method | 2 | ||
Rename Method public getPrivateExponent() : BigInteger renamed to public getPublicExponent() : BigInteger in class java.security.spec.RSAPublicKeySpec | From | To | |
Rename Method public getPublicExponent() : BigInteger renamed to public getPrivateExponent() : BigInteger in class java.security.spec.RSAPrivateKeySpec | From | To | |
Rename Variable | 12 | ||
Rename Variable kpg : KeyPairGenerator to result : KeyPairGenerator in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Rename Variable curve : EllipticCurve to otherEc : EllipticCurve in method public equals(other Object) : boolean in class java.security.spec.EllipticCurve | From | To | |
Rename Variable kpg : KeyPairGenerator to result : KeyPairGenerator in method public getInstance(algorithm String, provider Provider) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Rename Variable critSet : Set<String> to ce : Set<String> in method public initVerify(certificate Certificate) : void in class java.security.Signature | From | To | |
Rename Variable instance : Instance to sap : Engine.SpiAndProvider in method public getInstance(algorithm String) : AlgorithmParameterGenerator in class java.security.AlgorithmParameterGenerator | From | To | |
Rename Variable otherCP : CertPath to o : CertPath in method public equals(other Object) : boolean in class java.security.cert.CertPath | From | To | |
Rename Variable keyUsageInfo : boolean[] to keyUsage : boolean[] in method public initVerify(certificate Certificate) : void in class java.security.Signature | From | To | |
Rename Variable argClass : Class to cl : ClassLoader in method public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | From | To | |
Rename Variable bitCount : int to rp_bc : int in method public ECFieldF2m(m int, rp BigInteger) in class java.security.spec.ECFieldF2m | From | To | |
Rename Variable temp : BigInteger to rpTmp : BigInteger in method public ECFieldF2m(m int, rp BigInteger) in class java.security.spec.ECFieldF2m | From | To | |
Rename Variable t : Iterator<Service> to provider : Provider in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Rename Variable hashCode : int to hash : int in method public hashCode() : int in class java.security.cert.CertPath | From | To | |
Inline Method | 3 | ||
Inline Method private getImplClass() : Class inlined to public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | From | To | |
Inline Method private getInstance(instance Instance, algorithm String) : KeyPairGenerator inlined to public getInstance(algorithm String, provider Provider) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Inline Method private getInstance(instance Instance, algorithm String) : KeyPairGenerator inlined to public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
Change Return Type | 3 | ||
Change Return Type CertPathValidator to AlgorithmParameterGenerator in method public getInstance(algorithm String, provider String) : AlgorithmParameterGenerator in class java.security.AlgorithmParameterGenerator | From | To | |
Change Return Type CertPathValidator to AlgorithmParameterGenerator in method public getInstance(algorithm String, provider Provider) : AlgorithmParameterGenerator in class java.security.AlgorithmParameterGenerator | From | To | |
Change Return Type CertPathValidator to AlgorithmParameterGenerator in method public getInstance(algorithm String) : AlgorithmParameterGenerator in class java.security.AlgorithmParameterGenerator | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute clazz : Class to implementation : Class<?> in method public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | From | To | |
Rename Attribute | 4 | ||
Rename Attribute paramSpi : AlgorithmParametersSpi to spiImpl : AlgorithmParametersSpi in class java.security.AlgorithmParameters | From | To | |
Rename Attribute privateExponent : BigInteger to publicExponent : BigInteger in class java.security.spec.RSAPublicKeySpec | From | To | |
Rename Attribute validatorSpi : CertPathValidatorSpi to spiImpl : AlgorithmParameterGeneratorSpi in class java.security.AlgorithmParameterGenerator | From | To | |
Rename Attribute publicExponent : BigInteger to privateExponent : BigInteger in class java.security.spec.RSAPrivateKeySpec | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type attributes : Map<UString,String> to attributes : Map<String,String> in class java.security.Provider.Service | From | To | |
Change Attribute Type validatorSpi : CertPathValidatorSpi to spiImpl : AlgorithmParameterGeneratorSpi in class java.security.AlgorithmParameterGenerator | From | To | |
Rename Parameter | 7 | ||
Rename Parameter validatorSpi : CertPathValidatorSpi to paramGenSpi : AlgorithmParameterGeneratorSpi in method protected AlgorithmParameterGenerator(paramGenSpi AlgorithmParameterGeneratorSpi, provider Provider, algorithm String) in class java.security.AlgorithmParameterGenerator | From | To | |
Rename Parameter obj : Object to other : Object in method public equals(other Object) : boolean in class java.security.spec.EllipticCurve | From | To | |
Rename Parameter params : AlgorithmParameterSpec to param : AlgorithmParameterSpec in method public initialize(param AlgorithmParameterSpec, random SecureRandom) : void in class java.security.KeyPairGenerator | From | To | |
Rename Parameter publicExponent : BigInteger to privateExponent : BigInteger in method public RSAPrivateKeySpec(modulus BigInteger, privateExponent BigInteger) in class java.security.spec.RSAPrivateKeySpec | From | To | |
Rename Parameter privateExponent : BigInteger to publicExponent : BigInteger in method public RSAPublicKeySpec(modulus BigInteger, publicExponent BigInteger) in class java.security.spec.RSAPublicKeySpec | From | To | |
Rename Parameter params : AlgorithmParameterSpec to param : AlgorithmParameterSpec in method public initialize(param AlgorithmParameterSpec) : void in class java.security.KeyPairGenerator | From | To | |
Rename Parameter paramSpi : AlgorithmParametersSpi to algPramSpi : AlgorithmParametersSpi in method protected AlgorithmParameters(algPramSpi AlgorithmParametersSpi, provider Provider, algorithm String) in class java.security.AlgorithmParameters | From | To |