[go: nahoru, domu]

Skip to content

Commit

Permalink
代码修改 => 1.去除重复代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Joezeo committed Aug 1, 2021
1 parent bec1e1f commit 05a3150
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ public void init() {
field.setAccessible(true);
field.set(this, applicationContext.getBean(field.getType()));
} catch (BeansException e) {
System.out.println("Bean: " + field.getType().getName() + " not exist, skip");
log.warn("Bean: {} not exist, skip", field.getType().getName());
} catch (IllegalAccessException e) {
e.printStackTrace();
System.out.println();
log.error("inject field:{} into vessel failed, stop the server.", field.getName());
System.exit(-1);
}
Expand Down

0 comments on commit 05a3150

Please sign in to comment.