- SonarQube 7.9.2 / SonarJava 5.13.1
- minimal code sample to reproduce (with analysis parameter, and potential instructions to compile).
@Transactional
public class MyClass extends BaseClass {
@Override
public void test() { // Sonar Rule S1185 is thrown here although it makes sense to implement this method because i want it to be transactional
super.test();
}
}
The rule does indeed recognize @Transactional on the method but not on the class which has the same effect.