[jboss-jira] [JBoss JIRA] Created: (JBAS-9216) Invalid cast in SpecifiedInterfaceRemoveHandler

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Apr 1 09:38:38 EDT 2011


Invalid cast in SpecifiedInterfaceRemoveHandler
-----------------------------------------------

                 Key: JBAS-9216
                 URL: https://issues.jboss.org/browse/JBAS-9216
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Domain Management
    Affects Versions: 7.0.0.Beta1
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 7.0.0.Beta2


The handler's RuntimeTask does this which results in a CCE:

public void execute(RuntimeTaskContext context) throws OperationFailedException {
    RuntimeOperationContext runtimeContext = (RuntimeOperationContext) context;

That variable is never used; the whole line can go.

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


More information about the jboss-jira mailing list