diff --git a/notes/设计模式 - 状态.md b/notes/设计模式 - 状态.md index 698af242..1764cabd 100644 --- a/notes/设计模式 - 状态.md +++ b/notes/设计模式 - 状态.md @@ -87,7 +87,7 @@ public class NoQuarterState implements State { @Override public void ejectQuarter() { - System.out.println("You haven't insert a quarter"); + System.out.println("You haven't inserted a quarter"); } @Override @@ -285,7 +285,7 @@ A gumball comes rolling out the slot... You insert a quarter You turned... A gumball comes rolling out the slot... -You haven't insert a quarter +You haven't inserted a quarter You insert a quarter You can't insert another quarter You turned...