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

Manuel Gaupp
10.21.2014 b0c4a5cb88af689e15dce278cdd338033d9894b7
Backport of r10514, additionally remove System.out.println in Certificate Syntax
(Changes review manually by Matthew Swift)
2 files modified
8 ■■■■■ changed files
opends/src/messages/messages/schema.properties 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/CertificateSyntax.java 6 ●●●●● patch | view | raw | blame | history
opends/src/messages/messages/schema.properties
@@ -905,4 +905,4 @@
MILD_ERR_CERTIFICATE_MATCH_EXPECTED_END_338=The GSER value contains additional \
 characters at the end of the assertion
MILD_ERR_CERTIFICATE_MATCH_GSER_INVALID_339=An error occured while parsing the \
 the GSER String: "%s"
 GSER String: "%s"
opends/src/server/org/opends/server/schema/CertificateSyntax.java
@@ -58,9 +58,8 @@
/**
 * This class implements the certificate attribute syntax.  This should be
 * restricted to holding only X.509 certificates, but we will accept any set of
 * bytes.  It will be treated much like the octet string attribute syntax.
 * This class implements the certificate attribute syntax. It is restricted to
 * accept only X.509 certificates.
 */
public class CertificateSyntax
       extends AttributeSyntax<CertificateAttributeSyntaxCfg>
@@ -469,7 +468,6 @@
    }
    catch (ASN1Exception e)
    {
      System.out.println(e.getMessageObject());
      invalidReason.append(e.getMessageObject());
      return false;
    }