Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 238590

Summary: [javadoc] Tag description validation doesn't work if description is on the next line
Product: [Eclipse Project] JDT Reporter: Mauro Molinari <mauromol>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: eric_jodet
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mauro Molinari CLA 2008-06-26 09:41:10 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1. create a new Java Project
2. for this project enable:
Java Compiler | Javadoc | Process javadoc comments AND
missing tag descriptions: validate all standard tags
3. write this class:

package a;

public class A
{
  /**
   * @param b
   *          test
   */
  public void a(String b)
  {
  }
}

A warning is given for tag b because for a missing description... but the description is there, on the following line! The warning goes away if you move the tag description on the same line of @param tag.
Comment 1 Eric Jodet CLA 2008-06-26 10:18:35 EDT
Sounds like a duplicate of bug 222900

*** This bug has been marked as a duplicate of bug 222900 ***