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

Create App.java #3043

Closed
wants to merge 1 commit into from
Closed

Conversation

Dibyajyoti1515
Copy link

Chain of Responsibility Pattern in Java: Building Robust Request Handling Mechanisms

What problem does this PR solve?

Chain of Responsibility Pattern in Java: Building Robust Request Handling Mechanisms
Copy link

sonarcloud bot commented Oct 5, 2024

private boolean handled;

public Request(final RequestType requestType, final String requestDescription) {
this.requestType = Objects.requireNonNull(requestType);

Choose a reason for hiding this comment

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

Instead of Objects.requireNonNull(), can we use @nonnull annotation? Please check once the implementation.

@iluwatar iluwatar added the resolution: invalid Invalid or Marked as Spam label Oct 13, 2024
@iluwatar iluwatar closed this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: invalid Invalid or Marked as Spam
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants