Bug 30282 - TODO task message shouldn't be multiline
Summary: TODO task message shouldn't be multiline
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 08:16 EST by Philipe Mulet CLA
Modified: 2003-02-10 12:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-01-27 08:16:47 EST
Build 20030122

When defining following tasks:

	/**
	 * Suggest name for a setter method. The name is computed from field's 
name.
	 * TODO: (david) should explain better, provide example
	 * @param project project which contains the field.
	 * @param fieldName field's name's.
	 * @param modifiers field's modifiers as defined by the class
	 * <code>Flags</code>.
	 * @param excludedNames a list of names which can not be suggest 
(already use names).
	 *         Can be <code>null</code> if there is no excluded names.
	 * @return String a name.
	 * 
	 * @see Flags
	 * @deprecated use instead suggestSetterName(IJavaProject, String, int, 
boolean, String[])
	 * TODO: (david) remove once jdt/ui has converted
	 */

The message of the first task spans over multiple line. It should stop at the 
first line separator at maximum.

(test case from HEAD NamingConventions)
Comment 1 Olivier Thomann CLA 2003-01-27 08:53:32 EST
For now the end of a todo was the end of line or the beginning of the next one.
I will fix it by setting the end of a todo to the min value between the start of
the next and the first end of line.
Comment 2 Olivier Thomann CLA 2003-01-27 09:17:51 EST
Fixed and released in 2.1 stream. Regression test added.
Comment 3 David Audel CLA 2003-02-10 12:40:17 EST
Verified.