Skip to content

Commit

Permalink
Code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Nov 21, 2024
1 parent 0c0e89d commit 3e1c21d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public void saveApplicationLocally(ObjectMapper mapper, ExportApplication app, S
Utils.deleteDirectory(localFolder);
} else {
LOG.warn("Local export folder: {} already exists. Application will not be exported. (You may set -deleteTarget)", localFolder);
this.hasError = true;
return;
}
}
Expand Down Expand Up @@ -100,7 +99,6 @@ public void writeContent(ExportApplication app, ObjectMapper mapper, File localF
mapper.writeValue(System.out, app);
} else {
mapper.writeValue(new File(localFolder.getCanonicalPath() + configFile), app);
this.result.addExportedFile(localFolder.getCanonicalPath() + configFile);
}
} catch (Exception e) {
throw new AppException("Can't write Application-Configuration file for application: '" + app.getName() + "'", ErrorCode.UNXPECTED_ERROR, e);
Expand Down

0 comments on commit 3e1c21d

Please sign in to comment.