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

Bug 232978

Summary: ASTRewrite leads to a weird result when adding a tag element on an empty @since tag
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Olivier Thomann CLA 2008-05-20 10:20:17 EDT
Trying to quickfix a javadoc @since tag that has no fragments, the version is inserted on the next line. I would expect the version to be inserted on the same line as the @since tag.
 /**
  * @since
  */
 public static final int CONSTANT = 0;

becomes:
 /**
  * @since
 3.4	 */
 public static final int CONSTANT = 0;

I would expect:

 /**
  * @since 3.4
  */
 public static final int CONSTANT = 0;
Comment 1 Eclipse Genie CLA 2019-12-13 18:41:32 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.