Skip to content

Commit

Permalink
Fix | Resolve Blocker code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-ye committed Jul 3, 2019
1 parent 6fe404d commit 36a5343
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static boolean isDllLoaded() {
}

this.con = con;
dnsName = getDNSName(address);
dnsName = initDNSArray(address);
port = serverport;
}

Expand Down Expand Up @@ -126,7 +126,7 @@ void releaseClientContext() {

// note we handle the failures of the GetDNSName in this function, this function will return an empty string if the
// underlying call fails.
private static String getDNSName(String address) {
private static String initDNSArray(String address) {
String[] dns = new String[1];
if (GetDNSName(address, dns, authLogger) != 0) {
// Simply initialize the DNS to address
Expand Down

0 comments on commit 36a5343

Please sign in to comment.