Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-9

Typo in merge method of EJBLocalReferenceMetaData

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta7
    • 1.0.0.Beta6
    • None
    • None

      I first reported this in JBAS-5315, unaware that JBossMetadata project had a separate JIRA.

      While debugging one of the issues in a sample application deployed on JBoss-5.0 Beta4, i happened to see the merge(EJBLocalReferenceMetaData override, EJBLocalReferenceMetaData original) method of org.jboss.metadata.javaee.support.MergeableMappedMetaData.EJBLocalReferenceMetaData. There appears to be a typo in this method:

      if (override != null && override.local != null)
      setLocal(local);

      This should have been:

      if (override != null && override.local != null)
      setLocal(override.local);

              olubyans@redhat.com Alexey Loubyansky
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: