You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by mi...@apache.org on 2019/12/15 10:49:59 UTC

[httpcomponents-client] 08/12: Remove unused StringBuilder

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch consistency
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git

commit 6c1e4676a16ae459eb9b7ab06789483d05295969
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Dec 15 11:00:12 2019 +0100

    Remove unused StringBuilder
---
 .../main/java/org/apache/hc/client5/http/psl/PublicSuffixListParser.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/psl/PublicSuffixListParser.java b/httpclient5/src/main/java/org/apache/hc/client5/http/psl/PublicSuffixListParser.java
index 9619d5d..e943f1f 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/psl/PublicSuffixListParser.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/psl/PublicSuffixListParser.java
@@ -102,7 +102,6 @@ public final class PublicSuffixListParser {
         final List<PublicSuffixList> result = new ArrayList<>(2);
 
         final BufferedReader r = new BufferedReader(reader);
-        final StringBuilder sb = new StringBuilder(256);
 
         DomainType domainType = null;
         List<String> rules = null;