Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjingchuan authored and yongjingchuan committed Aug 20, 2020
1 parent eced54e commit 2be0bec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/cy/generate/support/BaseExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ public abstract class BaseExecutor {
* 串行
*/
protected final void execute() {
LOGGER.debug("[BaseExecutor] executor is {}.", this.getClass().getName());
LOGGER.debug("[BaseExecutor] executor is {} , started", this.getClass().getName());
for (BaseHandler handler : handlers) {
LOGGER.debug("[BaseExecutor] handler is {}.", handler.getClass().getName());
LOGGER.debug("[BaseExecutor] handler is {} ", handler.getClass().getName());
if (handler.executeFlag()) {
handler.execute();
}
}
LOGGER.debug("[BaseExecutor] executor is {} , ended", this.getClass().getName());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/support/BaseProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public abstract class BaseProcessor {
* @return
*/
protected final void process() {
LOGGER.debug("[BaseProcessor] processor is {}.", this.getClass().getName());
LOGGER.debug("[BaseProcessor] processor is {} ", this.getClass().getName());
executor.execute();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ public abstract class BaseProcessorChain {
* 串行
*/
protected final void execute() {
LOGGER.debug("[BaseProcessorChain] processorChain is {}.", this.getClass().getName());
LOGGER.debug("[BaseProcessorChain] processorChain is {} , started", this.getClass().getName());
for (BaseProcessor processor : processors) {
if (processor.executeFlag()) {
processor.process();
}
}
LOGGER.debug("[BaseProcessorChain] processorChain is {} , ended", this.getClass().getName());
}

/**
Expand Down

0 comments on commit 2be0bec

Please sign in to comment.