aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/api/StashApplyCommand.java
diff options
context:
space:
mode:
authorThomas Wolf <twolf@apache.org>2022-08-14 16:38:57 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2022-08-14 21:33:18 +0200
commit134ee334fb22410623972fa972f60bff38b38ca8 (patch)
tree7f1a9c8192d39eb22f0aac023c71de07e499e9a1 /org.eclipse.jgit/src/org/eclipse/jgit/api/StashApplyCommand.java
parent1745131addfcb367b1b2ebfd167bfe155443d210 (diff)
downloadjgit-134ee334fb22410623972fa972f60bff38b38ca8.tar.gz
jgit-134ee334fb22410623972fa972f60bff38b38ca8.zip
WorkTreeUpdater: Fix unclosed streams
1. A TemporaryBuffer.LocalFile must be destroyed to ensure the temporary file gets deleted on disk. 2. TemporaryBuffer.openInputStream() may be used only after TemporaryBuffer.close(). 3. The caller of DirCacheCheckout.getContent() is responsible for closing the OutputStream! Change-Id: I46abb0fba27656a1026858e5783fc60d4738a45e Signed-off-by: Thomas Wolf <twolf@apache.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/StashApplyCommand.java')
0 files changed, 0 insertions, 0 deletions