Skip to content

Commit

Permalink
Beatifications
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Feb 16, 2020
1 parent d29644f commit 478b164
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public final <T> T sendGenericMessage (@Nonnull @Nonempty final String sURL,
ValueEnforcer.notEmpty (sURL, "URL");
ValueEnforcer.notNull (aHttpEntity, "HttpEntity");

try (final HttpClientManager aClient = new HttpClientManager (m_aHttpClientFactory))
try (final HttpClientManager aClientMgr = new HttpClientManager (m_aHttpClientFactory))
{
final HttpPost aPost = new HttpPost (sURL);

Expand Down Expand Up @@ -234,7 +234,7 @@ public final <T> T sendGenericMessage (@Nonnull @Nonempty final String sURL,
return ret.toString ();
});

return aClient.execute (aPost, aResponseHandler);
return aClientMgr.execute (aPost, aResponseHandler);
}
}

Expand Down Expand Up @@ -393,6 +393,7 @@ public String toString ()
{
return new ToStringGenerator (this).append ("HttpClientFactory", m_aHttpClientFactory)
.append ("HttpCustomizer", m_aHttpCustomizer)
.append ("QuoteHttpHeaders", m_bQuoteHttpHeaders)
.getToString ();

}
Expand Down

0 comments on commit 478b164

Please sign in to comment.