Bug 55504 - @<tasktag> should not be reported
Summary: @<tasktag> should not be reported
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 55507
  Show dependency tree
 
Reported: 2004-03-22 07:12 EST by Dani Megert CLA
Modified: 2004-03-25 12:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2004-03-22 07:12:59 EST
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> != '@'
Comment 1 Philipe Mulet CLA 2004-03-22 12:01:40 EST
Agreed, the task detection should check for leading character being different 
from '@'.

Frederic - time permitting for M8, if not make it M9.
Comment 2 Dani Megert CLA 2004-03-22 12:05:31 EST
Q: what if I explicitly enter a task tag like "@mytag"? I suggest to support this.
Comment 3 Frederic Fusier CLA 2004-03-23 16:20:58 EST
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.
Comment 4 Jerome Lanneluc CLA 2004-03-25 12:35:24 EST
Verified in build I200403250800.