Project: JDT
Bug 179316 [quick fix] 'Add missing attributes' does not add attribute 'value'
Reported: 2007-03-26 11:01:35 | Status: resolved fixed

I20070323-1616 @Requires1 @interface Requires1 { String value(); } - Quick Fix 'Add missing attributes' => expected: @Requires1("") or @Requires1(value= "") => was: @Requires1() @Requires2 @interface Requires2 { String value(); int count(); } - Quick Fix 'Add missing attributes' => expected: @Requires2(value= "", count= 0) => was: @Requires2(count= 0) A second invocation of the quick fix adds the 'value' attribute in both cases.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/MissingAnnotationAttributesProposal.java