Bug 343420

Summary: [quick fix] "Change modifier to 'static final'" incorrectly suggested
Product: [Eclipse Project] JDT Reporter: Szymon Ptaszkiewicz <sptaszkiewicz>
Component: UIAssignee: Kenneth Styrberg <kenneth>
Status: VERIFIED FIXED QA Contact: Roland Grunberg <rgrunber>
Severity: normal    
Priority: P3 CC: deepakazad, markus.kell.r, rgrunber, srikanth_sankaran
Version: 3.7   
Target Milestone: 4.14 M3   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/150664
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=13c2ae8bfa3f07b766dd28b75c65eb581ec2acec
Whiteboard: stalebug

Description Szymon Ptaszkiewicz CLA 2011-04-20 10:28:33 EDT
Build id: I20110419-1004

Using the following test case 3 quick fixes are available. One of them is "Change modifier to 'static final'" which is not correct and applying this quick fix does not change anything.

----------%<----------
public class A {
	public class B {
		static final int X = 1;
		static final Integer Y = new Integer(2);
	}
}
----------%<----------
Comment 1 Deepak Azad CLA 2011-04-21 02:56:45 EDT
The error message is incorrect, filed bug 343480.
Comment 2 Srikanth Sankaran CLA 2011-10-24 03:51:33 EDT
*** Bug 361771 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Genie CLA 2019-10-03 04:28:51 EDT
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.
Comment 4 Eclipse Genie CLA 2019-10-06 15:09:31 EDT
New Gerrit change created: https://git.eclipse.org/r/150664
Comment 6 Roland Grunberg CLA 2019-11-20 12:29:33 EST
Verified for 4.14 M3 using I20191120-0840 build.