mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
26.30.2007 03889aa19bbeb860d9e460df2a2023df366da89d
opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java
@@ -825,7 +825,6 @@
          throw ArgumentExceptionFactory.unknownCategory(categoryName);
        }
        categoryName = null;
        subTypes = tagMap.get(tag);
        if (subTypes == null) {
          throw ArgumentExceptionFactory.unknownCategory(categoryName);
@@ -838,8 +837,8 @@
      if (typeName != null) {
        AbstractManagedObjectDefinition<?, ?> d = subTypes.get(typeName);
        if (d == null) {
          throw ArgumentExceptionFactory.unknownTypeInCategory(categoryName,
              typeName);
          throw ArgumentExceptionFactory.unknownTypeForCategory(typeName,
              categoryName);
        }
        dlist.add(d);
@@ -863,7 +862,8 @@
      }
      if (!isFound) {
        throw ArgumentExceptionFactory.unknownType(typeName);
        throw ArgumentExceptionFactory.unknownTypeForCategory(typeName,
            categoryName);
      }
    } else {
      // User did not specify a category nor a sub-type.