-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Present the cooked potatoe directly to the consumer #147
base: master
Are you sure you want to change the base?
Conversation
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore | ||
org.eclipse.jdt.core.compiler.release=disabled | ||
org.eclipse.jdt.core.compiler.source=1.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add .settings
to the .gitignore.
* | ||
* @return void | ||
*/ | ||
public void servePotato() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code style of this method is discordant with the rest of the project.
} catch (NotDeliciousException e) { | ||
potato.servePotato(); | ||
} | ||
catch (NotDeliciousException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the style of this catch
as well.
} catch (NotDeliciousException e) { | ||
potato.servePotato(); | ||
} | ||
catch (NotDeliciousException e) { | ||
System.err.println("Fatal error! How could Potato not be delicious?\nReason: " + e.getReason()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System.err.println("Fatal error! How could Potato not be delicious?\nReason: " + e.getReason()); | |
System.err.println("Fatal error! How could Potato not be delicious?"); | |
System.err.println("Reason: " + e.getReason()); |
System.out.println("Done."); | ||
} | ||
catch (IOException ex) { | ||
System.out.print("whoops"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more explanatory messages would do well here.
No description provided.