Skip to content

Commit

Permalink
remove redundant get
Browse files Browse the repository at this point in the history
  • Loading branch information
PleaseGiveMeTheCoke committed Jan 4, 2025
1 parent a3afb05 commit 4aedf16
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,6 @@ private ChannelFuture getAndCreateChannelAsync(final String addr) throws Interru
return getAndCreateNameserverChannelAsync();
}

ChannelWrapper cw = this.channelTables.get(addr);
if (cw != null && cw.isOK()) {
return cw.getChannelFuture();
}

return this.createChannelAsync(addr);
}

Expand Down

0 comments on commit 4aedf16

Please sign in to comment.