konveyor / rulesets

Collections of static code analysis rules
Apache License 2.0
1 stars 17 forks source link

QUARKUS two CDI rules report the same issues #87

Open aufi opened 2 months ago

aufi commented 2 months ago

Getting the same incidents for two rules: cdi-to-quarkus-00050 and jakarta-cdi-to-quarkus-00050, not sure if it is correct. Name is "Stateless annotation can be replaced with scope".

image

Konveyor version 0.5.0-beta.1

Tested with Konveyor app Target: quarkus Source: none Source code used: https://github.com/windup/windup-sample-apps/blob/master/sample-binaries/ticket-monster.war Rule triggered: cdi-to-quarkus-00050 and jakarta-cdi-to-quarkus-00050 Files e.g.: /shared/bin/java-project/src/main/java/org/jboss/examples/ticketmonster/rest/BookingEndpoint.java /shared/bin/java-project/src/main/java/org/jboss/examples/ticketmonster/rest/BookingService.java ...