jgit/org.eclipse.jgit.test/tst/org/eclipse/jgit
Robin Rosenberg 81fa566295 Suppress resource warnings with Java 7
For streams that should not be closed, i.e. don't own an underlying
stream, and in-memory streams that do not need to be closed we just
suppress the warning. This mostly apply to test cases. GC is enough.

For streams with external resources (i.e. files) we add the necessary
call to close().

Change-Id: I4d883ba2e7d07f199fe57ccb3459ece00441a570
2012-10-25 15:17:23 -07:00
..
api Suppress resource warnings with Java 7 2012-10-25 15:17:23 -07:00
diff cleanup: Prefer assertEquals over assertTrue(....equals(...)) 2012-09-03 22:37:57 +02:00
dircache Suppress boxing warnings where we know they are ok 2012-09-22 01:21:00 +02:00
events Convert all JGit unit tests to JUnit 4 2010-12-31 14:00:05 -08:00
fnmatch Suppress boxing warnings where we know they are ok 2012-09-22 01:21:00 +02:00
ignore Suppress boxing warnings where we know they are ok 2012-09-22 01:21:00 +02:00
lib Add a check in fstick that the reference file exists 2012-10-25 14:48:48 -07:00
merge Add the intended file to avoid breakage 2012-09-25 18:46:41 +02:00
nls Move NLS test for HttpServerText to http.test 2012-05-22 14:52:32 -07:00
notes Add shortening of note ref names to NoteMap 2011-05-23 11:39:33 -07:00
patch Suppress boxing warnings where we know they are ok 2012-09-22 01:21:00 +02:00
revplot Fix PlotCommit for commits with duplicate parents 2012-08-05 12:50:06 +02:00
revwalk Use assertEquals instead of == for literal primitives 2012-09-16 00:23:51 +02:00
storage Suppress resource warnings with Java 7 2012-10-25 15:17:23 -07:00
submodule Suppress resource warnings with Java 7 2012-10-25 15:17:23 -07:00
transport Suppress resource warnings with Java 7 2012-10-25 15:17:23 -07:00
treewalk Fix for Iff768422c, use offset 0 when going back to work tree iterator 2012-10-06 13:08:16 +02:00
util Suppress resource warnings with Java 7 2012-10-25 15:17:23 -07:00