Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2011-07-06 05:45:19 -0400
committerMatthias Sohn2011-07-06 05:45:19 -0400
commitb9e4e064ae0d34216feadb789c9be7c0bf4ec742 (patch)
tree6e11360dd574825e8d577172f0242fcee51ad6fc /org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables
parentfbfec35690437e83eebcf605ef0dbb727878bf03 (diff)
downloadegit-b9e4e064ae0d34216feadb789c9be7c0bf4ec742.tar.gz
egit-b9e4e064ae0d34216feadb789c9be7c0bf4ec742.tar.xz
egit-b9e4e064ae0d34216feadb789c9be7c0bf4ec742.zip
[findBugs] Do not ignore exceptional return value of mkdir()
Change-Id: I8b9541e0e489750de5b9d72165580707bc38b634 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables/DynamicVariablesTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables/DynamicVariablesTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables/DynamicVariablesTest.java
index 62a79b963..fb2f5484e 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables/DynamicVariablesTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/variables/DynamicVariablesTest.java
@@ -62,7 +62,7 @@ public class DynamicVariablesTest extends EGitTestCase {
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- new File(root.getLocation().toFile(),"Sub").mkdir();
+ FileUtils.mkdir(new File(root.getLocation().toFile(),"Sub"), true);
gitDir = new File(new File(root.getLocation().toFile(), "Sub"), Constants.DOT_GIT);
repository = new FileRepository(gitDir);

Back to the top