]> source.dussan.org Git - jgit.git/commit
Provide file utilities for file deletion 54/2054/4
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 6 Dec 2010 23:45:58 +0000 (00:45 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 8 Dec 2010 00:18:29 +0000 (16:18 -0800)
commite22f9552a8531a56fe2ffd7135da3e8607f708bc
tree1834a9b8c7197929481c9d608ee9f4b772c26b04
parent70162ce14bd0447dac7adc5463813e8f758d83cf
Provide file utilities for file deletion

Provide file helper methods in a reusable utility class to
replace many local implementations. java.io.File has some
methods reporting failure by returning false. We prefer to
throw IOException on failure so that callers can't forget
checking the return value.

Change-Id: I430c77b5d2cffcf8b47584326ad4817a7291845e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java [new file with mode: 0644]