konveyor / rulesets

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

EAP7 SessionBean incident doesn't look relevant #86

Closed aufi closed 1 month ago

aufi commented 1 month ago

image

Konveyor version 0.5.0-beta.1

Tested with Konveyor app Target: eap7 Source: none Source code used: https://github.com/windup/windup-sample-apps/blob/master/sample-binaries/ticket-monster.war Rule triggered: singleton-sessionbean-00001 File: /shared/bin/java-project/src/main/java/org/jboss/examples/ticketmonster/service/BotService.java Title: Removed SessionBean interface

dymurray commented 1 month ago

This rule wasn't converted properly. It's matching too broadly due to the annotation rule wanting to check for arguments inside of the annotation.