Skip to content

Commit

Permalink
refactor: simplify interface class and change base class to abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
brendongitx committed Feb 5, 2025
1 parent 3d8378d commit 36d8bfa
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 720 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/dpdirect/dpmgmt/DPCustomOp.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public boolean customPostIntercept() {
}
}
} catch (IOException ex) {
if (!DPDBase.failOnError && !DPDBase.getLogger().isDebugEnabled()) {
if (!DPDBase.getFailOnError() && !DPDBase.getLogger().isDebugEnabled()) {
DPDBase.getLogger().error(ex.getMessage());
} else {
DPDBase.getLogger().error(ex.getMessage(), ex);
Expand Down Expand Up @@ -576,7 +576,7 @@ protected void multipleSetFile() {
}
}
} catch (IOException ex) {
if (!DPDBase.failOnError && !DPDBase.getLogger().isDebugEnabled()) {
if (!DPDBase.getFailOnError() && !DPDBase.getLogger().isDebugEnabled()) {
DPDBase.getLogger().error(ex.getMessage());
} else {
DPDBase.getLogger().error(ex.getMessage(), ex);
Expand Down
Loading

0 comments on commit 36d8bfa

Please sign in to comment.