Fixed: Remove useless return
This commit is contained in:
parent
4188d9bbca
commit
0c64019755
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ public class Potato implements Tuber {
|
||||||
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?");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue