File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
decorator/src/main/java/me/zbl/decorator Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public static void main(String[] args) {
4141 carpenter .chekcAfter ();
4242
4343 LOGGER .info ("由铁匠完成锤把以及锤头的制作" );
44- Operation hammerSmith = new HammerSmith (carpenter );
44+ Operation hammerSmith = new HammerSmithOperation (carpenter );
4545 hammerSmith .checkBefore ();
4646 hammerSmith .join ();
4747 hammerSmith .chekcAfter ();
Original file line number Diff line number Diff line change 2929/**
3030 * 铁匠
3131 */
32- public class HammerSmith implements Operation {
32+ public class HammerSmithOperation implements Operation {
3333
34- private static final Logger LOGGER = LoggerFactory .getLogger (HammerSmith .class );
34+ private static final Logger LOGGER = LoggerFactory .getLogger (HammerSmithOperation .class );
3535 private Operation previousOperation ;
3636
37- public HammerSmith (Operation previousOperation ) {
37+ public HammerSmithOperation (Operation previousOperation ) {
3838 this .previousOperation = previousOperation ;
3939 }
4040
You can’t perform that action at this time.
0 commit comments