It is my first contribution to spring. I hope everything is fine. I have watched the contribution rules, signed the CLA and changed the dates in the license
With 4.1.2 most warnings went away but I git a new one not recognized before:
advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch] line 115
So line 115 and line 117 in AnnotationDrivenStaticEntityMockingControl may need this @SuppressAjWarning annotation too. But I am not sure because in these lines only pointcuts are defined but not advices. In my understanding these are two different things. But maybe the warning applies to pointcuts too.
This one isn't new so we just didn't took it into account with your original PR. Could you please create a new improvement and we'll take it from there. Thanks!
Janning Vygen opened SPR-12239 and commented
I was adding spring-aspects to use
@Transactional
with compile time weaving. With STS the AJDT eclipse module produces a warning likeorg.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
All advices in the spring-aspects lib should have
@SuppressAjWarning
Some already have like AbstractTransactionAspect in line 59
Affects: 4.1 GA
Issue Links:
Referenced from: commits 439ea90, 6950d55
The text was updated successfully, but these errors were encountered: