Skip to content
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

Unnecessary newline at the end in getErrorMessage() #283

Closed
mariuszgromada opened this issue Nov 18, 2022 · 1 comment
Closed

Unnecessary newline at the end in getErrorMessage() #283

mariuszgromada opened this issue Nov 18, 2022 · 1 comment
Labels
cosmetic A tiny improvement
Milestone

Comments

@mariuszgromada
Copy link
Owner

Code example

Expression e1 = new Expression("2+3");
Expression e2 = new Expression3+4");
e1.checkSyntax();
e2.checkSyntax();
System.out.println("----- START");
System.out.println(e1.getErrorMessage());
System.out.println(e2.getErrorMessage());
System.out.println("----- END");

Code result:

----- START
[2+3] checking ...
[2+3] no errors.

[3+4] checking ...
[3+4] no errors.

----- END

Should be:

----- START
[2+3] checking ...
[2+3] no errors.
[3+4] checking ...
[3+4] no errors.
----- END
@mariuszgromada mariuszgromada added the cosmetic A tiny improvement label Nov 18, 2022
@mariuszgromada
Copy link
Owner Author

Fixed :-)

@mariuszgromada mariuszgromada added this to the v.5.2 Orion milestone Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmetic A tiny improvement
Projects
None yet
Development

No branches or pull requests

1 participant