Bug 62704 - Using 05180816, //toto is a task if //toto is a task tag.
Summary: Using 05180816, //toto is a task if //toto is a task tag.
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 RC1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 12:53 EDT by Olivier Thomann CLA
Modified: 2004-05-28 15:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2004-05-18 12:53:05 EDT
Following bug 61181, if //toto is defined as a task tag, a line comment starting
with toto is seen as a task. I would expect ////toto to be a task, not simply
//toto.

test case:
public class A {
    //toto
}

This should not create a task tag.
Comment 1 Frederic Fusier CLA 2004-05-25 07:12:49 EDT
Fixed.

Now in following sample:
public class X {
 // not a task
 /// neither a task
 //// this is the real task
}
task is signaled only in last comment.

[jdt-core-internal]
Change done in Scanner.checkTaskTag(int,int) and also duplicated in 
PublicScanner.
Test case added in NegativeTest
Comment 2 Olivier Thomann CLA 2004-05-28 15:06:53 EDT
Verified in 200405281200