45a2f95e361685e95f68b00ba03f04c133efda07
Files Diff
- Added: 66
- Removed: 67
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type paramGenSpi : AlgorithmParameterGeneratorSpi to validatorSpi : CertPathValidatorSpi in method protected CertPathValidator(validatorSpi CertPathValidatorSpi, provider Provider, algorithm String) in class java.security.cert.CertPathValidator | From | To | |
| Move Method | 5 | ||
| Move Method public init(genParamSpec AlgorithmParameterSpec) : void from class java.security.AlgorithmParameterGenerator to public init(genParamSpec AlgorithmParameterSpec) : void from class java.security.AlgorithmParameterGenerator | From | To | |
| Move Method public init(genParamSpec AlgorithmParameterSpec, random SecureRandom) : void from class java.security.AlgorithmParameterGenerator to public init(genParamSpec AlgorithmParameterSpec, random SecureRandom) : void from class java.security.AlgorithmParameterGenerator | From | To | |
| Move Method public init(size int) : void from class java.security.AlgorithmParameterGenerator to public init(size int) : void from class java.security.AlgorithmParameterGenerator | From | To | |
| Move Method public init(size int, random SecureRandom) : void from class java.security.AlgorithmParameterGenerator to public init(size int, random SecureRandom) : void from class java.security.AlgorithmParameterGenerator | From | To | |
| Move Method public generateParameters() : AlgorithmParameters from class java.security.AlgorithmParameterGenerator to public generateParameters() : AlgorithmParameters from class java.security.AlgorithmParameterGenerator | From | To | |
| Move Source Folder | 2 | ||
| Move Source Folder jre_emul/android/libcore/luni to jre_emul/android/platform/libcore/ojluni | From | To | |
| Move Source Folder jre_emul/android/libcore/luni/src/main to jre_emul/android/platform/libcore/ojluni/src/objc | From | To | |
| Extract Class | 1 | ||
| Extract Class java.security.AlgorithmParameterGenerator from class java.security.AlgorithmParameterGenerator | From | To | |
| Rename Class | 3 | ||
| Rename Class java.security.KeyStore.Builder.BuilderImpl renamed to java.security.KeyStore.Builder.FileBuilder | From | To | |
| Rename Class java.security.spec.RSAPrivateKeySpec renamed to java.security.spec.RSAPublicKeySpec | From | To | |
| Rename Class java.security.spec.RSAPublicKeySpec renamed to java.security.spec.RSAPrivateKeySpec | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class java.security.AlgorithmParameterGenerator moved and renamed to java.security.cert.CertPathValidator | From | To | |
| Extract Variable | 1 | ||
| Extract Variable publicKey : PublicKey in method public initVerify(certificate Certificate) : void from class java.security.Signature | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type passwd : char[] to oldException : Throwable in method public getKeyStore() : KeyStore in class java.security.KeyStore.Builder.FileBuilder | From | To | |
| Change Variable Type e : CertificateEncodingException to type : String in method protected writeReplace() : Object in class java.security.cert.CertPath | From | To | |
| Change Variable Type result : KeyPairGenerator to failure : NoSuchAlgorithmException in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
| Change Variable Type sap : Engine.SpiAndProvider to instance : Instance in method public getInstance(algorithm String) : CertPathValidator in class java.security.cert.CertPathValidator | From | To | |
| Change Variable Type provider : Provider to t : Iterator<Service> in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
| Inline Variable | 1 | ||
| Inline Variable prev : int in method public ECFieldF2m(m int, ks int[]) from class java.security.spec.ECFieldF2m | From | To | |
| Extract Method | 2 | ||
| Extract Method private getImplClass() : Class extracted from public newInstance(constructorParameter Object) : Object in class java.security.Provider.Service | 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 | |
| Inline Method | 2 | ||
| Inline Method private stateToString(state int) : String inlined to public toString() : String in class java.security.Signature | From | To | |
| Inline Method private getSignature(algorithm String, provider Provider) : Signature inlined to public getInstance(algorithm String, provider String) : Signature in class java.security.Signature | From | To | |
| Rename Variable | 9 | ||
| Rename Variable hash : int to hashCode : int in method public hashCode() : int in class java.security.cert.CertPath | From | To | |
| Rename Variable sap : Engine.SpiAndProvider to instance : Instance in method public getInstance(algorithm String) : CertPathValidator in class java.security.cert.CertPathValidator | From | To | |
| Rename Variable o : CertPath to otherCP : CertPath in method public equals(other Object) : boolean in class java.security.cert.CertPath | From | To | |
| Rename Variable otherEc : EllipticCurve to curve : EllipticCurve in method public equals(obj Object) : boolean in class java.security.spec.EllipticCurve | From | To | |
| Rename Variable rp_bc : int to bitCount : int in method public ECFieldF2m(m int, rp BigInteger) in class java.security.spec.ECFieldF2m | From | To | |
| Rename Variable result : KeyPairGenerator to failure : NoSuchAlgorithmException in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
| Rename Variable provider : Provider to t : Iterator<Service> in method public getInstance(algorithm String) : KeyPairGenerator in class java.security.KeyPairGenerator | From | To | |
| Rename Variable keyUsage : boolean[] to keyUsageInfo : boolean[] in method public initVerify(certificate Certificate) : void in class java.security.Signature | From | To | |
| Rename Variable ce : Set<String> to critSet : Set<String> in method public initVerify(certificate Certificate) : void in class java.security.Signature | From | To | |
| Change Return Type | 3 | ||
| Change Return Type AlgorithmParameterGenerator to CertPathValidator in method public getInstance(algorithm String) : CertPathValidator in class java.security.cert.CertPathValidator | From | To | |
| Change Return Type AlgorithmParameterGenerator to CertPathValidator in method public getInstance(algorithm String, provider String) : CertPathValidator in class java.security.cert.CertPathValidator | From | To | |
| Change Return Type AlgorithmParameterGenerator to CertPathValidator in method public getInstance(algorithm String, provider Provider) : CertPathValidator in class java.security.cert.CertPathValidator | From | To | |
| Replace Variable With Attribute | 2 | ||
| Replace Variable With Attribute passwd : char[] to oldException : Throwable in method public getKeyStore() : KeyStore in class java.security.KeyStore.Builder.FileBuilder | From | To | |
| Replace Variable With Attribute e : CertificateEncodingException to type : String in method protected writeReplace() : Object in class java.security.cert.CertPath | From | To | |
| Rename Attribute | 4 | ||
| Rename Attribute privateExponent : BigInteger to publicExponent : BigInteger in class java.security.spec.RSAPublicKeySpec | From | To | |
| Rename Attribute spiImpl : AlgorithmParameterGeneratorSpi to validatorSpi : CertPathValidatorSpi in class java.security.cert.CertPathValidator | From | To | |
| Rename Attribute publicExponent : BigInteger to privateExponent : BigInteger in class java.security.spec.RSAPrivateKeySpec | From | To | |
| Rename Attribute spiImpl : AlgorithmParametersSpi to paramSpi : AlgorithmParametersSpi in class java.security.AlgorithmParameters | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type attributes : Map<String,String> to attributes : Map<UString,String> in class java.security.Provider.Service | From | To | |
| Change Attribute Type spiImpl : AlgorithmParameterGeneratorSpi to validatorSpi : CertPathValidatorSpi in class java.security.cert.CertPathValidator | From | To | |
| Rename Parameter | 7 | ||
| Rename Parameter other : Object to obj : Object in method public equals(obj Object) : boolean in class java.security.spec.EllipticCurve | From | To | |
| Rename Parameter param : AlgorithmParameterSpec to params : AlgorithmParameterSpec in method public initialize(params AlgorithmParameterSpec) : void in class java.security.KeyPairGenerator | From | To | |
| Rename Parameter algPramSpi : AlgorithmParametersSpi to paramSpi : AlgorithmParametersSpi in method protected AlgorithmParameters(paramSpi AlgorithmParametersSpi, provider Provider, algorithm String) in class java.security.AlgorithmParameters | From | To | |
| Rename Parameter paramGenSpi : AlgorithmParameterGeneratorSpi to validatorSpi : CertPathValidatorSpi in method protected CertPathValidator(validatorSpi CertPathValidatorSpi, provider Provider, algorithm String) in class java.security.cert.CertPathValidator | 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 publicExponent : BigInteger to privateExponent : BigInteger in method public RSAPrivateKeySpec(modulus BigInteger, privateExponent BigInteger) in class java.security.spec.RSAPrivateKeySpec | From | To | |
| Rename Parameter param : AlgorithmParameterSpec to params : AlgorithmParameterSpec in method public initialize(params AlgorithmParameterSpec, random SecureRandom) : void in class java.security.KeyPairGenerator | From | To |