Grammar fixes
This commit is contained in:
parent
ff9e283b33
commit
e5f3804850
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ public class Potato implements Tuber {
|
||||||
final Potato potato = new Potato();
|
final Potato potato = new Potato();
|
||||||
try {
|
try {
|
||||||
potato.prepare();
|
potato.prepare();
|
||||||
System.out.println("Of course potato is prepared and delicious.");
|
System.out.println("Of course Potato is prepared and delicious.");
|
||||||
} catch (NotDeliciousException e) {
|
} catch (NotDeliciousException e) {
|
||||||
System.err.println("Fatal error! How could potato not be delicious?");
|
System.err.println("Fatal error! How could Potato not be delicious?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue