Skip to content

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

sonarqubecloud 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