[java-support] branch main updated: Remove old cast.
Scott Cantor
cantor.2 at osu.edu
Fri Feb 26 16:52:19 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=58c88a835b44bde2db846f834eaf66edf0bee923
The following commit(s) were added to refs/heads/main by this push:
new 58c88a8 Remove old cast.
58c88a8 is described below
commit 58c88a835b44bde2db846f834eaf66edf0bee923
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Feb 26 11:52:17 2021 -0500
Remove old cast.
---
.../shibboleth/utilities/java/support/httpclient/HttpClientBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/httpclient/HttpClientBuilder.java b/src/main/java/net/shibboleth/utilities/java/support/httpclient/HttpClientBuilder.java
index c593078..5d846f4 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/httpclient/HttpClientBuilder.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/httpclient/HttpClientBuilder.java
@@ -393,7 +393,7 @@ public class HttpClientBuilder {
* @param size size of the socket buffer, in bytes, used for request/response buffering; must be greater than 0
*/
public void setSocketBufferSize(final int size) {
- socketBufferSize = (int) Constraint.isGreaterThan(0, size, "Socket buffer size must be greater than 0");
+ socketBufferSize = Constraint.isGreaterThan(0, size, "Socket buffer size must be greater than 0");
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list