glassfish
  1. glassfish
  2. GLASSFISH-19907

removing unused import and field in osgi-container

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 4.0_b81
    • Component/s: OSGi
    • Labels:
      None

      Description

      In osgi-container module, there are some unused imports and filed.

      1. org.glassfish.extras.osgicontainer.OSGiContainer

      removing the following unused imports in order to make sources more clean

      1) import org.glassfish.internal.deployment.GenericDeployer;
      2) import java.util.Map;
      3) import java.util.HashMap;
      4) import java.lang.ref.WeakReference;
      5) import com.sun.enterprise.module.Module;

      2 org.glassfish.extras.osgicontainer.OSGiDeployer

      removing the following unused filed because unused filed can have a minor effect on running

      private static final String BUNDLE_ID = "bundle.id";

        Activity

        Hide
        TangYong added a comment -

        fixed.
        Revision: 60517

        Show
        TangYong added a comment - fixed. Revision: 60517

          People

          • Assignee:
            TangYong
            Reporter:
            TangYong
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: