[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9251) hyperlink window should not contain duplicit entries

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Fri Jun 24 10:48:23 EDT 2011


hyperlink window should not contain duplicit entries
----------------------------------------------------

                 Key: JBIDE-9251
                 URL: https://issues.jboss.org/browse/JBIDE-9251
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi (jsr-299)
    Affects Versions: 3.3.0.M2
            Reporter: Lukas Jungmann
            Assignee: Alexey Kazakov


-open http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/unwraps.html
-create class:
{code}
package com.acme;
@SessionScoped
public class PermissionManager {

   Permission permission;

   void setPermission(Permission permission) {
      this.permission=permission;
   }

   @Unwraps //@Current
   Permission getPermission() {
      return this.permission;
   }
}
{code}

-create class:
{code}
package com.acme;
@SessionScoped
class SecurityManager {

   @Inject
   //@Current
   Permission permission;

   boolean checkAdminPermission() {
      return permission.getName().equals("admin");
   }
}
{code}

-make sure that "@Current" is commented out
-open hyperlink window on @Current in SecurityManager

=> popup shows 3 entries for PM.getPermission() but only one should be shown instead

see attached screenshot

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list