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

Classname does not match the Filename. #321

Merged
merged 1 commit into from
May 6, 2020
Merged

Classname does not match the Filename. #321

merged 1 commit into from
May 6, 2020

Conversation

ityreh
Copy link
Contributor

@ityreh ityreh commented May 6, 2020

If you try to run this example you will get a compilation error "class Sample is public, should be declared in a file named Sample.java". To solve this and to be consistent to the other language examples, the class should be renamed to Example.

If you try to run this example you will get a compilation error "class Sample is public, should be declared in a file named Sample.java". To solve this and to be consistent to the other language examples, the class should be renamed to Example.
@oscerd
Copy link
Contributor

oscerd commented May 6, 2020

Thank you

@oscerd oscerd merged commit ade8f37 into apache:master May 6, 2020
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