Bug 190701 - @depracation placed incorrectly by Quick Fix for class vars
Summary: @depracation placed incorrectly by Quick Fix for class vars
Status: RESOLVED DUPLICATE of bug 105668
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-03 14:56 EDT by Sebastian Davids CLA
Modified: 2007-06-04 04:46 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 Sebastian Davids CLA 2007-06-03 14:56:15 EDT
import java.util.Date;

public class Test {

    private static final Date DATE = new Date(2006, 5, 3);
}


invoke Quick Fix:

import java.util.Date;

@SuppressWarnings("deprecation")
public class Test {

    private static final Date DATE = new Date(2006, 5, 3);
}

it should be:

import java.util.Date;

public class Test {

    @SuppressWarnings("deprecation")
    private static final Date DATE = new Date(2006, 5, 3);
}
Comment 1 Martin Aeschlimann CLA 2007-06-04 04:46:10 EDT

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