diff --git a/modules/apps/src/main/java/com/axway/apim/appexport/ApplicationExportApp.java b/modules/apps/src/main/java/com/axway/apim/appexport/ApplicationExportApp.java index d6bee337d..568b2d8b1 100644 --- a/modules/apps/src/main/java/com/axway/apim/appexport/ApplicationExportApp.java +++ b/modules/apps/src/main/java/com/axway/apim/appexport/ApplicationExportApp.java @@ -121,12 +121,6 @@ private static ExportResult runExport(AppExportParams params, ResultHandler expo } else { LOG.info("Found {} application(s).", apps.size()); exporter.export(apps); - if (exporter.hasError()) { - LOG.info(""); - LOG.error("Please check the log. At least one error was recorded."); - } else { - LOG.debug("Successfully exported {} application(s).", apps.size()); - } } return result; }finally { diff --git a/modules/apps/src/main/java/com/axway/apim/appexport/impl/ApplicationExporter.java b/modules/apps/src/main/java/com/axway/apim/appexport/impl/ApplicationExporter.java index c804cb0e2..785f1a543 100644 --- a/modules/apps/src/main/java/com/axway/apim/appexport/impl/ApplicationExporter.java +++ b/modules/apps/src/main/java/com/axway/apim/appexport/impl/ApplicationExporter.java @@ -48,8 +48,6 @@ public Class getClazz() { AppExportParams params; ExportResult result; - boolean hasError = false; - public static ApplicationExporter create(ResultHandler exportImpl, AppExportParams params, ExportResult result) throws AppException { try { Object[] intArgs = new Object[]{params, result}; @@ -68,10 +66,6 @@ protected ApplicationExporter(AppExportParams params, ExportResult result) { public abstract void export(List apps) throws AppException; - public boolean hasError() { - return this.hasError; - } - public abstract ClientAppFilter getFilter() throws AppException; protected Builder getBaseFilterBuilder() throws AppException {