Versions used: SonarLint 7.3 in Eclipse IDE for Enterprise Java and Web Developers 4.23
Using a ws client are useful constants inside this classes:
that should be excluded in # java:S1191
hey @Matteo_A_Sorrenti ,
Sorry for the late reply and thank you for your patience. Indeed, there is no point in raising issues on these classes (and packages). Here is a ticket to fix this: [SONARJAVA-4282][SONARJAVA-4282] Exclude "com.sun.xml.ws" package from S1191 by default - SonarSource).
Note that rule S1191 is parametrizable, so you can already modify the rule to also ignore package
com.sun.xml.ws.*. You can change your configuration on both SonarLint and your SonarQube/SonarCloud quality profile, independently. This would solve your issue while waiting for the fix to be deployed.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.