Project: AspectJ
Bug 148219 Wrong warning is reported
Reported: 2006-06-22 10:05:18 | Status: resolved fixed

I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The parameter key is never read. See my screenshot.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java tests/bugs153/PR148219/MyMessages.java tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java