Regarding java:S6212 : Local-Variable Type Inference (var) should be used

Hello @sonaruser1231

Thanks for the feedback, this is a legitimate concern.
I invite you to have a look at this topic:

Hope it clarifies the situation.
Best,
Quentin