32fae9485d435182ec0624db47c77f3dfb73431f
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getKeyMgrs(vertx VertxInternal) : KeyManager[] renamed to public getKeyMgr() : KeyManager[] in class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Rename Method private createHandler(engine SSLEngine, client boolean) : SslHandler renamed to public createEngine(sslContext SslContext, vertx VertxInternal) : SSLEngine in class io.vertx.core.net.impl.SSLHelper | From | To | |
Pull Up Method | 2 | ||
Pull Up Method public loadPrivateKey() : PrivateKey from class io.vertx.core.net.impl.KeyStoreHelper.KeyCert to public loadPrivateKey(keyValue Supplier<Buffer>) : PrivateKey from class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Pull Up Method public loadCerts() : X509Certificate[] from class io.vertx.core.net.impl.KeyStoreHelper.KeyCert to public loadCerts(certValue Supplier<Buffer>) : X509Certificate[] from class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Move And Rename Method | 3 | ||
Move And Rename Method public loadStore(vertx VertxInternal) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper.JKSOrPKCS12 to private loadJKSOrPKCS12(type String, password String, value Supplier<Buffer>) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Move And Rename Method public loadStore(vertx VertxInternal) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper.CA to private loadCA(certValues Stream<Buffer>) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Move And Rename Method public loadStore(vertx VertxInternal) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper.KeyCert to private loadKeyCert(keyValue Supplier<Buffer>, certValue Supplier<Buffer>) : KeyStore from class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type vertx : VertxInternal to certValues : Stream<Buffer> in method private loadCA(certValues Stream<Buffer>) : KeyStore in class io.vertx.core.net.impl.KeyStoreHelper | From | To | |
Change Return Type | 1 | ||
Change Return Type SslHandler to SSLEngine in method public createEngine(sslContext SslContext, vertx VertxInternal) : SSLEngine in class io.vertx.core.net.impl.SSLHelper | From | To | |
Extract Variable | 1 | ||
Extract Variable handshakeListener : GenericFutureListener<io.netty.util.concurrent.Future<? super Channel>> in method public channelActive(ctx ChannelHandlerContext) : void from class io.vertx.core.net.impl.NetServerBase.ServerHandler | From | To | |
Extract Method | 2 | ||
Extract Method public getContext(vertx VertxInternal, serverName String) : SslContext extracted from public getContext(vertx VertxInternal) : SslContext in class io.vertx.core.net.impl.SSLHelper | From | To | |
Extract Method private configureEngine(engine SSLEngine, client boolean, serverName String) : void extracted from private createHandler(engine SSLEngine, client boolean) : SslHandler in class io.vertx.core.net.impl.SSLHelper | From | To | |
Inline Variable | 1 | ||
Inline Variable fut : Future<Channel> in method public channelActive(ctx ChannelHandlerContext) : void from class io.vertx.core.net.impl.NetServerBase.ServerHandler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter vertx : VertxInternal to certValues : Stream<Buffer> in method private loadCA(certValues Stream<Buffer>) : KeyStore in class io.vertx.core.net.impl.KeyStoreHelper | From | To |