Community
Participate
Working Groups
I20040318 I think we should not mix our task tags with custom Javadoc tags. This is now the case because @<tasktag> is treated the same as <tasktag>. However <a_char><tasktag> is not reported when <a_char> != '@'
Agreed, the task detection should check for leading character being different from '@'. Frederic - time permitting for M8, if not make it M9.
Q: what if I explicitly enter a task tag like "@mytag"? I suggest to support this.
Fixed. Now @<tasktag> are not reported as tasks as in following example: /** * TODO valid task * _TODO is ignored * @TODO is ignored * @TAG valid task * @@TAG is ignored */ public class Test { } with "TODO" and "@TAG" defined as task tags... [jdt-core-internal] Modifications done in checkTaskTag(int,int) method of Scanner: do not start tags comparison if previuous char was a '@'. Test cases added in jdt.tests.compiler.regression.NegativeTest.
Verified in build I200403250800.