From 0a96fa9f37c3ab9774282183c9a4b829949453e2 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 16 Apr 2019 23:26:08 +1000 Subject: [PATCH] return File from createDirectory --- .../src/main/java/org/hl7/fhir/utilities/Utilities.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/Utilities.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/Utilities.java index c2e5ff90e..a7f09f6b4 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/Utilities.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/Utilities.java @@ -324,8 +324,9 @@ public class Utilities { // } } - public static void createDirectory(String path) throws IOException{ - new CSFile(path).mkdirs(); + public static File createDirectory(String path) throws IOException{ + new CSFile(path).mkdirs(); + return new File(path); } public static String changeFileExt(String name, String ext) {