We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8a561 commit 7c94d18Copy full SHA for 7c94d18
src/main/java/org/radarcns/FileCache.java
@@ -39,7 +39,7 @@ public void appendLine(File file, String data) throws IOException {
39
}
40
41
File dir = file.getParentFile();
42
- if (!file.getParentFile().exists()){
+ if (!dir.exists()){
43
if (dir.mkdirs()) {
44
logger.info("Created directory: {}", dir.getAbsolutePath());
45
} else {
0 commit comments