Skip to content

Commit 0c0e89d

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

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

modules/apps/src/main/java/com/axway/apim/appexport/ApplicationExportApp.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ private static ExportResult runExport(AppExportParams params, ResultHandler expo
121121
} else {
122122
LOG.info("Found {} application(s).", apps.size());
123123
exporter.export(apps);
124-
if (exporter.hasError()) {
125-
LOG.info("");
126-
LOG.error("Please check the log. At least one error was recorded.");
127-
} else {
128-
LOG.debug("Successfully exported {} application(s).", apps.size());
129-
}
130124
}
131125
return result;
132126
}finally {

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public Class<ApplicationExporter> getClazz() {
4848
AppExportParams params;
4949
ExportResult result;
5050

51-
boolean hasError = false;
52-
5351
public static ApplicationExporter create(ResultHandler exportImpl, AppExportParams params, ExportResult result) throws AppException {
5452
try {
5553
Object[] intArgs = new Object[]{params, result};
@@ -68,10 +66,6 @@ protected ApplicationExporter(AppExportParams params, ExportResult result) {
6866

6967
public abstract void export(List<ClientApplication> apps) throws AppException;
7068

71-
public boolean hasError() {
72-
return this.hasError;
73-
}
74-
7569
public abstract ClientAppFilter getFilter() throws AppException;
7670

7771
protected Builder getBaseFilterBuilder() throws AppException {

0 commit comments

Comments
 (0)