Skip to content

Commit 3e1c21d

Browse files
author
rathnapandi
committed
Code clean up
1 parent 0c0e89d commit 3e1c21d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/apps/src/main/java/com/axway/apim/appexport/impl/JsonApplicationExporter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public void saveApplicationLocally(ObjectMapper mapper, ExportApplication app, S
5959
Utils.deleteDirectory(localFolder);
6060
} else {
6161
LOG.warn("Local export folder: {} already exists. Application will not be exported. (You may set -deleteTarget)", localFolder);
62-
this.hasError = true;
6362
return;
6463
}
6564
}
@@ -100,7 +99,6 @@ public void writeContent(ExportApplication app, ObjectMapper mapper, File localF
10099
mapper.writeValue(System.out, app);
101100
} else {
102101
mapper.writeValue(new File(localFolder.getCanonicalPath() + configFile), app);
103-
this.result.addExportedFile(localFolder.getCanonicalPath() + configFile);
104102
}
105103
} catch (Exception e) {
106104
throw new AppException("Can't write Application-Configuration file for application: '" + app.getName() + "'", ErrorCode.UNXPECTED_ERROR, e);

0 commit comments

Comments
 (0)