[jbosstools-issues] [JBoss JIRA] (JBIDE-12303) Make Quick Fix "Add @SuppressWarnings" work on Temporary annotations
Isaac Rooskov (JIRA)
jira-events at lists.jboss.org
Sun Dec 2 20:54:22 EST 2012
[ https://issues.jboss.org/browse/JBIDE-12303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isaac Rooskov closed JBIDE-12303.
---------------------------------
Resolution: Done
Re-closing issue now release note text has been written
> Make Quick Fix "Add @SuppressWarnings" work on Temporary annotations
> --------------------------------------------------------------------
>
> Key: JBIDE-12303
> URL: https://issues.jboss.org/browse/JBIDE-12303
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: common/jst/core
> Reporter: Daniel Azarov
> Assignee: Daniel Azarov
> Labels: new_and_noteworthy
> Fix For: 4.0.0.Alpha1
>
>
> Test case:
> EXECUTE:
> 1. Create CDI project
> 2. Create class:
> {code}
> import javax.enterprise.event.Observes;
> public class Test {
> public void foo(@Observes String s1, String s2) {
> }
> }
> {code}
> 3. Be sure that preference JBoss Tools->CDI->CDI Validator->Multiple observing parameters is set to value "Warning"
> 4. Open class Test in Java Editor
> 5. Add annotation @Observes to parameter s2
> 6. Do not save the editor
> ASSERT:
> annotations @Observes should be marked with problem annotation
> EXECUTE: Point mpouse to one of annotations @Observes
> ASSERT: Quick Fixes "Add @SuppressWarnings" for method and for parameter should be in Text Hoover
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list