Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-260

Anti-pattern use of getPackage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      ClassContainer.addPackage suffers from an anti-pattern, because Package.getPackage returns null if no classes have been loaded from that package yet.

      As an example see org.jboss.jsfunit.arquillian.JSFUnitApplicationArchiveProcessor.

              Unassigned Unassigned
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: