You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2018/08/03 16:56:46 UTC

httpcomponents-core git commit: Format nit.

Repository: httpcomponents-core
Updated Branches:
  refs/heads/master aa98eed21 -> be2cf1e9b


Format nit.

Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/be2cf1e9
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/be2cf1e9
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/be2cf1e9

Branch: refs/heads/master
Commit: be2cf1e9bd769638cbb224404a2a7198f7bf257b
Parents: aa98eed
Author: Gary Gregory <gg...@apache.org>
Authored: Fri Aug 3 10:56:42 2018 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Fri Aug 3 10:56:42 2018 -0600

----------------------------------------------------------------------
 .../org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/be2cf1e9/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
index 9c7a804..ae5c491 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
@@ -157,7 +157,7 @@ public class ContentLengthInputStream extends InputStream {
      * @throws java.io.IOException Should an error occur on the wrapped stream.
      */
     @Override
-    public int read (final byte[] b, final int off, final int len) throws java.io.IOException {
+    public int read(final byte[] b, final int off, final int len) throws java.io.IOException {
         if (closed) {
             throw new StreamClosedException("Stream already closed");
         }