Skip to content

Commit

Permalink
[common] Remove unused constructor for LookupData. (apache#10112)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangl authored Apr 4, 2021
1 parent e1e2e53 commit fafba51
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ public LookupData(String brokerUrl, String brokerUrlTls, String httpUrl, String
this.nativeUrl = brokerUrl;
}

public LookupData(String brokerUrl, String brokerUrlTls, boolean redirect, boolean authoritative) {
this.brokerUrl = brokerUrl;
this.brokerUrlTls = brokerUrlTls;
this.nativeUrl = brokerUrl;
}

public String getBrokerUrl() {
return brokerUrl;
}
Expand Down Expand Up @@ -89,6 +83,6 @@ public String getBrokerUrlSsl() {
@Override
public String toString() {
return MoreObjects.toStringHelper(this).add("brokerUrl", brokerUrl).add("brokerUrlTls", brokerUrlTls)
.add("httpUrl", httpUrl).toString();
.add("httpUrl", httpUrl).add("httpUrlTls", httpUrlTls).toString();
}
}

0 comments on commit fafba51

Please sign in to comment.