Skip to content

Conversation

@tomasz-tylenda-sonarsource
Copy link
Contributor

No description provided.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Upgrade sonar-java-jdt to 1.8 SONARJAVA-5961 Upgrade sonar-java-jdt to 1.8 Jan 19, 2026
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Jan 19, 2026

SONARJAVA-5961

@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource force-pushed the tt/jdt-1.8 branch 5 times, most recently from a551c94 to 585fc88 Compare January 26, 2026 12:42
@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource changed the title SONARJAVA-5961 Upgrade sonar-java-jdt to 1.8 SONARJAVA-5961 Upgrade sonar-java-jdt to 1.8.0.1483 Jan 26, 2026
@tomasz-tylenda-sonarsource tomasz-tylenda-sonarsource marked this pull request as ready for review January 26, 2026 16:42
Copy link
Contributor

Choose a reason for hiding this comment

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

Great job on the upgrade, can we check whether the nullablity annotation makes sense here?

Token token5 = tokens.get(5);
assertThat(token5.toString(source)).isEqualTo("/// markdown comment 1\n /// markdown comment 2");
assertThat(token5.isComment()).isFalse(); // JDT issue https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3914
assertThat(token5.isComment()).isTrue();

Choose a reason for hiding this comment

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

🥳

return true;
}
Type contextConsumerType;
@Nullable Type contextConsumerType = null;

Choose a reason for hiding this comment

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

Nullability assignment and annotation seem a little redundant. Do we need the annotation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed the annotation.

@sonarqube-next
Copy link

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