diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2010-12-10 21:48:09 +0100 |
---|---|---|
committer | Chris Aniszczyk <caniszczyk@gmail.com> | 2010-12-13 08:47:17 -0600 |
commit | c6ca443b61372d73a7f1438c995713bad39b5277 (patch) | |
tree | a8e701858c05442169242c2781a271787fb48a22 /org.eclipse.jgit.ui | |
parent | 45a020fe6a1ed4a7a9f8c46ab81dd4e655211941 (diff) | |
download | jgit-c6ca443b61372d73a7f1438c995713bad39b5277.tar.gz jgit-c6ca443b61372d73a7f1438c995713bad39b5277.zip |
File utilities for creating directories
The java.io.File methods for creating directories report failure by
returning false. To ease proper checking of return values provide
utility methods wrapping mkdir() and mkdirs() which throw IOException
on failure.
Also fix the tests to store test data under a trash folder and cleanup
after test.
Change-Id: I09c7f9909caf7e25feabda9d31e21ce154e7fcd5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.ui')
0 files changed, 0 insertions, 0 deletions