Skip to content

Commit 9f22538

Browse files
httpURLConnection.getErrorStream() can return null so handle it.
1 parent 497b786 commit 9f22538

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/io/github/jopenlibs/vault/rest

1 file changed

+1
-1
lines changed

src/main/java/io/github/jopenlibs/vault/rest/Rest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ private int connectionStatus(final URLConnection connection) throws IOException,
580580
}
581581

582582
/**
583-
* <p>This method </p>
583+
* <p>This method handles the response stream from the connection.</p>
584584
*
585585
* @param inputStream The input stream from the connection.
586586
* @return The body payload, downloaded from the HTTP connection response

0 commit comments

Comments
 (0)