Skip to content

Java token position tests - Continue to Loop end#2917

Merged
robinmaisch merged 2 commits into
developfrom
feature/tokenPositionTests2
Jun 19, 2026
Merged

Java token position tests - Continue to Loop end#2917
robinmaisch merged 2 commits into
developfrom
feature/tokenPositionTests2

Conversation

@TwoOfTwelve

Copy link
Copy Markdown
Contributor

Contains tests for token positions for the java token types continue to loop_end.

This PR also adjusts some token lengths. Since it does not change the token list, I think it's fine to do this without a separate PR

@TwoOfTwelve TwoOfTwelve requested a review from robinmaisch April 24, 2026 07:23
long start = positions.getStartPosition(ast, node);
// This is odd, but also done like this in Java 1.7
addToken(JavaTokenType.J_GENERIC, start, 1, new CodeSemantics());
// This is odd, but also done like this in Javagg 1.7

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm sorry, what is Javagg?

@sonarqubecloud

sonarqubecloud Bot commented May 7, 2026

Copy link
Copy Markdown

@robinmaisch robinmaisch force-pushed the feature/tokenPositionTests2 branch from 580da25 to 57f6ce8 Compare June 18, 2026 11:39
@sonarqubecloud

Copy link
Copy Markdown

@robinmaisch robinmaisch merged commit b169fe4 into develop Jun 19, 2026
56 checks passed
@robinmaisch robinmaisch deleted the feature/tokenPositionTests2 branch June 19, 2026 14:21
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