Skip to content

Commit

Permalink
Merge pull request #80 from ivan1767p/closestream
Browse files Browse the repository at this point in the history
Close BufferedReader and InputStream
  • Loading branch information
jmecosta committed Jan 24, 2022
2 parents 0ab6835 + c25a161 commit cecae91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/trimble/tekla/teamcity/HttpConnector.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public void Post(TeamcityConfiguration conf, String url, Map<String, String> par
}

TeamcityLogger.logMessage(settings, repoName, "[HttpConnector][Post] Hook Reply: " + line);
in.close();
content.close();

} catch (Exception e) {
TeamcityLogger.logMessage(settings, repoName, "[HttpConnector][Post] Hook Exception: " + e.getMessage());
Expand Down

0 comments on commit cecae91

Please sign in to comment.