64f2b32d57f35864b5c47b7e80f02e9c939f592a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private readOut(url URL) : String renamed to private readFromURL(url URL) : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Rename Variable | 6 | ||
Rename Variable testPreferredCipherSSLSocketF : PrefferedCipherSSLSocketFactory to cipherSSLSocketFactory : PreferredCipherSSLSocketFactory in method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Rename Variable sslSocketF : SSLSocketFactory to sslSocketFactory : SSLSocketFactory in method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Attribute | 2 | ||
Extract Attribute private SERVLET_NAME_LONGHEADER : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Attribute private SERVLET_NAME_ECHO : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.hadoop.http.TestSSLHttpServer.PrefferedCipherSSLSocketFactory renamed to org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Rename Attribute | 2 | ||
Rename Attribute excludeCiphers : String to EXCLUDED_CIPHERS : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Rename Attribute exclusiveEnabledCiphers : String to EXCLUSIVE_ENABLED_CIPHERS : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Change Variable Type | 3 | ||
Change Variable Type testPreferredCipherSSLSocketF : PrefferedCipherSSLSocketFactory to cipherSSLSocketFactory : PreferredCipherSSLSocketFactory in method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Split Attribute | 1 | ||
Split Attribute keystoresDir : String to [keystoreDir : String, EXCLUDED_CIPHERS : String] in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method | 15 | ||
Extract Method private setEnabledCipherSuites(sslSocket SSLSocket) : void extracted from public createSocket(string String, i int, ia InetAddress, i1 int) : Socket in class org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Extract Method private testEnabledCiphers(ciphers String) : void extracted from public testOneEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection extracted from public testOneEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private readFromConnection(conn HttpsURLConnection) : String extracted from public testOneEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private setEnabledCipherSuites(sslSocket SSLSocket) : void extracted from public createSocket(ia InetAddress, i int) : Socket in class org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Extract Method private readFromConnection(conn HttpsURLConnection) : String extracted from public testExclusiveEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private setEnabledCipherSuites(sslSocket SSLSocket) : void extracted from public createSocket(string String, i int) : Socket in class org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Extract Method private setEnabledCipherSuites(sslSocket SSLSocket) : void extracted from public createSocket(socket Socket, string String, i int, bln boolean) : Socket in class org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Extract Method private readFromConnection(conn HttpsURLConnection) : String extracted from public testExcludedCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private testEnabledCiphers(ciphers String) : void extracted from public testExclusiveEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection extracted from public testExclusiveEnabledCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private setupServer(conf Configuration, sslConf Configuration) : void extracted from public setup() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private setEnabledCipherSuites(sslSocket SSLSocket) : void extracted from public createSocket(ia InetAddress, i int, ia1 InetAddress, i1 int) : Socket in class org.apache.hadoop.http.TestSSLHttpServer.PreferredCipherSSLSocketFactory | From | To | |
Extract Method private getConnectionWithSSLSocketFactory(url URL, ciphers String) : HttpsURLConnection extracted from public testExcludedCiphers() : void in class org.apache.hadoop.http.TestSSLHttpServer | From | To | |
Extract Method private readFromConnection(conn HttpsURLConnection) : String extracted from private readOut(url URL) : String in class org.apache.hadoop.http.TestSSLHttpServer | From | To |