]> source.dussan.org Git - jgit.git/commit
Use try-with-resources to fix warnings in AddNoteCommand 84/45084/1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 1 Apr 2015 22:46:59 +0000 (00:46 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 1 Apr 2015 22:46:59 +0000 (00:46 +0200)
commit3206f37cc3b9e500bd531e72310b7a3987114d6e
treea3b0539b353a52b91edde976579fa3a62c44b06b
parentd94ce9c754b740defbd75230663d323f64cc9648
Use try-with-resources to fix warnings in AddNoteCommand

Replaces use of deprecated release() methods.

Change-Id: I0211bcf0a76a2fccc2c85fa74778e20c256984ba
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/AddNoteCommand.java