unused field, enum causes 1.5 warning BLD200409301800
authorrkubacki@netbeans.org
Thu, 30 Sep 2004 11:45:07 +0000
changeset 1593ae68b9f2f19a
parent 1592 f71ef750d63c
child 1594 5037df5a2fc9
unused field, enum causes 1.5 warning
mdr/src/org/netbeans/mdr/NBMDRepositoryImpl.java
     1.1 --- a/mdr/src/org/netbeans/mdr/NBMDRepositoryImpl.java	Wed Sep 22 13:51:08 2004 +0000
     1.2 +++ b/mdr/src/org/netbeans/mdr/NBMDRepositoryImpl.java	Thu Sep 30 11:45:07 2004 +0000
     1.3 @@ -93,11 +93,6 @@
     1.4       */
     1.5      private final Map facilityCache = new FacilityCache();
     1.6      
     1.7 -    /**
     1.8 -     * Maps mof ids of meta-objects to the appropriate JMI interfaces (String => Class).
     1.9 -     */
    1.10 -    private final Hashtable classCache = new Hashtable();
    1.11 -
    1.12      /* --------------------------------------------------------------------- */
    1.13      /* -- Constructors ----------------------------------------------------- */
    1.14      /* --------------------------------------------------------------------- */
    1.15 @@ -577,7 +572,6 @@
    1.16       */
    1.17      public void freeCache() {
    1.18          facilityCache.clear();
    1.19 -        classCache.clear();
    1.20      }
    1.21      
    1.22      public RefBaseObject getHandler(MOFID mofId) {
    1.23 @@ -1127,9 +1121,9 @@
    1.24          }
    1.25      }
    1.26      
    1.27 -    private DatatypeDescriptor createDTDescriptor(String storageId, EnumerationType enum) {
    1.28 -        List members = new ArrayList(enum.getLabels());
    1.29 -        String ifcName = TagSupport.getTypeFullName((StorableObject) ((BaseObjectHandler) enum)._getDelegate());
    1.30 +    private DatatypeDescriptor createDTDescriptor(String storageId, EnumerationType e) {
    1.31 +        List members = new ArrayList(e.getLabels());
    1.32 +        String ifcName = TagSupport.getTypeFullName((StorableObject) ((BaseObjectHandler) e)._getDelegate());
    1.33          return new DatatypeDescriptor(mdrStorage, members, ifcName, storageId);
    1.34      }
    1.35