Skip to content

Commit

Permalink
Fix checkstyle for ProxyConnection.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mukesh-ctds authored and srinath-ctds committed Dec 14, 2023
1 parent 531e9f0 commit e8526ef
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,8 @@ private synchronized void completeConnect() throws PulsarClientException {

state = State.ProxyLookupRequests;
try {
lookupProxyHandler =
Reflections.createInstance(service.getConfiguration().getLookupHandler(), LookupProxyHandler.class,
Thread.currentThread()
.getContextClassLoader());
lookupProxyHandler = Reflections.createInstance(service.getConfiguration().getLookupHandler(),
LookupProxyHandler.class, Thread.currentThread().getContextClassLoader());
lookupProxyHandler.initialize(service, this);
} catch (Exception e) {
LOG.error("Failed to initialize lookup proxy handler", e);
Expand Down

0 comments on commit e8526ef

Please sign in to comment.