Skip to content

Conversation

@developerJuiceLozzoc
Copy link

No description provided.

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
Copy link

@bigfoot547 bigfoot547 Dec 22, 2020

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() {

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) {

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.

potato.servePotato();
}
catch (NotDeliciousException e) {
System.err.println("Fatal error! How could Potato not be delicious?\nReason: " + e.getReason());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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");

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants