jgit/org.eclipse.jgit.test/tst/org/eclipse/jgit
Shawn Pearce 8208da2f59 Deprecate SafeBufferedOutputStream
Java 8 fixed the silent flush during close issue by
FilterOutputStream (base class of BufferedOutputStream)
using try-with-resources to close the stream, getting a
behavior matching what JGit's SafeBufferedOutputStream
was doing:

  try {
    flush();
  } finally {
    out.close();
  }

With Java 8 as the minimum required version to run JGit
it is no longer necessary to override close() or have
this class. Deprecate the class, and use the JRE's version
of close.

Change-Id: Ic0584c140010278dbe4062df2e71be5df9a797b3
2016-11-14 15:33:54 -08:00
..
api Organize imports 2016-11-14 13:25:20 -08:00
attributes Add Attribute Macro Expansion 2016-02-11 17:08:49 +01:00
diff Deprecate SafeBufferedOutputStream 2016-11-14 15:33:54 -08:00
dircache DirCacheBasicTest: Open ObjectInserter.Formatter in try-with-resource 2016-02-15 17:19:17 +09:00
events Move base test classes to the junit bundle for reuse for Java 7 tests 2013-02-04 07:24:56 +01:00
fnmatch FileNameMatcherTest: Use Character.valueOf rather than new Character 2016-10-19 15:09:37 +09:00
gitrepo Organize imports 2016-11-14 13:25:20 -08:00
ignore Ignore trailing spaces in directory rule patterns 2016-09-14 07:43:52 -04:00
indexdiff Fix symlink content comparison on MacOS in tree walk 2016-10-11 00:20:23 +02:00
internal/storage Deprecate SafeBufferedOutputStream 2016-11-14 15:33:54 -08:00
junit Clarify the semantics of DfsRefDatabase#compareAndPut 2016-08-25 19:12:39 -07:00
lib Organize imports 2016-11-14 13:25:20 -08:00
merge Organize imports 2016-11-14 13:25:20 -08:00
nls Move console classes to pgm bundle 2015-02-10 09:14:48 +01:00
notes NoteMapTest: Add missing @Test annotations 2016-08-26 00:12:32 +02:00
patch Organize imports 2016-11-14 13:25:20 -08:00
revplot Revert "CommitBuilder should check for duplicate parents" 2015-03-18 16:26:05 -07:00
revwalk Organize imports 2016-11-14 13:25:20 -08:00
storage/file Remove hardcoded target/trash from test cases 2013-11-01 19:57:47 -07:00
submodule SubmoduleAddTest: Open Git in try-with-resource 2016-02-05 14:11:54 +09:00
symlinks SymlinksTest: Open git and TreeWalk in try-with-resource 2016-02-05 14:05:22 +09:00
test/resources Fix loop in auto gc 2016-11-07 22:31:10 +01:00
transport Organize imports 2016-11-14 13:25:20 -08:00
treewalk Use FS#lastModified instead of File#lastModified 2016-08-24 09:07:08 +02:00
util Organize imports 2016-11-14 13:25:20 -08:00