Skip to content

Commit

Permalink
httpURLConnection.getErrorStream() can return null so handle it.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycechesternewman committed Apr 24, 2023
1 parent 497b786 commit 9f22538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/jopenlibs/vault/rest/Rest.java
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ private int connectionStatus(final URLConnection connection) throws IOException,
}

/**
* <p>This method </p>
* <p>This method handles the response stream from the connection.</p>
*
* @param inputStream The input stream from the connection.
* @return The body payload, downloaded from the HTTP connection response
Expand Down

0 comments on commit 9f22538

Please sign in to comment.