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

MockServletContext - clean-up #5128

Merged
merged 1 commit into from
Jun 25, 2022

Conversation

Emkas
Copy link
Contributor

@Emkas Emkas commented Jun 24, 2022

  • Add @OverRide
  • Remove unused functions/methods
  • Add raw types where they can be used

@Emkas Emkas force-pushed the mock-servler-context-clean-up branch from 9a96df8 to c75e3d0 Compare June 24, 2022 14:13
public String getInitParameter(String name) {
return ((String) parameters.get(name));
return (parameters.get(name));
Copy link
Contributor

@BalusC BalusC Jun 24, 2022

Choose a reason for hiding this comment

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

While you're at it, unnecessary parenthesis should also be removed over all place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. My bad.

* Add @OverRide
* Remove unused functions/methods
* Add raw types where they can be used

Signed-off-by: Emil Sierżęga <emilsierzega@gmail.com>
@Emkas Emkas force-pushed the mock-servler-context-clean-up branch from c75e3d0 to 272b06c Compare June 24, 2022 20:11
@BalusC BalusC merged commit 04d0074 into eclipse-ee4j:master Jun 25, 2022
@Emkas Emkas deleted the mock-servler-context-clean-up branch June 25, 2022 12:59
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