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 ea6da10 commit 0c0e89d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public Class<ApplicationExporter> 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};
Expand All @@ -68,10 +66,6 @@ protected ApplicationExporter(AppExportParams params, ExportResult result) {

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

public boolean hasError() {
return this.hasError;
}

public abstract ClientAppFilter getFilter() throws AppException;

protected Builder getBaseFilterBuilder() throws AppException {
Expand Down

0 comments on commit 0c0e89d

Please sign in to comment.