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

Matthew Swift
19.02.2011 24a59808a15d20c81962616aebd883e43ad4f659
opendj3/opendj-sdk/src/main/java/org/opends/sdk/schema/SchemaBuilder.java
@@ -2992,8 +2992,8 @@
      catch (final SchemaException e)
      {
        removeSyntax(syntax);
        warnings.add(ERR_SYNTAX_VALIDATION_FAIL.get(syntax.toString(), e
            .toString()));
        warnings.add(ERR_SYNTAX_VALIDATION_FAIL.get(
            syntax.toString(), e.getMessageObject()));
      }
    }
@@ -3007,7 +3007,8 @@
      catch (final SchemaException e)
      {
        removeMatchingRule(rule);
        warnings.add(ERR_MR_VALIDATION_FAIL.get(rule.toString(), e.toString()));
        warnings.add(ERR_MR_VALIDATION_FAIL.get(rule.toString(),
            e.getMessageObject()));
      }
    }
@@ -3022,7 +3023,7 @@
      {
        removeAttributeType(attribute);
        warnings.add(ERR_ATTR_TYPE_VALIDATION_FAIL.get(attribute.toString(), e
            .toString()));
            .getMessageObject()));
      }
    }
@@ -3036,7 +3037,8 @@
      catch (final SchemaException e)
      {
        removeObjectClass(oc);
        warnings.add(ERR_OC_VALIDATION_FAIL.get(oc.toString(), e.toString()));
        warnings.add(ERR_OC_VALIDATION_FAIL.get(oc.toString(),
            e.getMessageObject()));
      }
    }
@@ -3051,7 +3053,8 @@
      catch (final SchemaException e)
      {
        removeMatchingRuleUse(use);
        warnings.add(ERR_MRU_VALIDATION_FAIL.get(use.toString(), e.toString()));
        warnings.add(ERR_MRU_VALIDATION_FAIL.get(use.toString(),
            e.getMessageObject()));
      }
    }
@@ -3084,7 +3087,7 @@
      {
        removeNameForm(form);
        warnings.add(ERR_NAMEFORM_VALIDATION_FAIL.get(form.toString(), e
            .toString()));
            .getMessageObject()));
      }
    }
@@ -3098,8 +3101,8 @@
      catch (final SchemaException e)
      {
        removeDITContentRule(rule);
        warnings
            .add(ERR_DCR_VALIDATION_FAIL.get(rule.toString(), e.toString()));
        warnings.add(ERR_DCR_VALIDATION_FAIL.get(rule.toString(),
            e.getMessageObject()));
      }
    }
@@ -3131,8 +3134,8 @@
      catch (final SchemaException e)
      {
        removeDITStructureRule(rule);
        warnings
            .add(ERR_DSR_VALIDATION_FAIL.get(rule.toString(), e.toString()));
        warnings.add(ERR_DSR_VALIDATION_FAIL.get(rule.toString(),
            e.getMessageObject()));
      }
    }
  }