From b0c4a5cb88af689e15dce278cdd338033d9894b7 Mon Sep 17 00:00:00 2001
From: Manuel Gaupp <m.gaupp@scanplus.de>
Date: Mon, 10 Mar 2014 17:21:36 +0000
Subject: [PATCH] Backport of r10514, additionally remove System.out.println in Certificate Syntax (Changes review manually by Matthew Swift)
---
opends/src/server/org/opends/server/schema/CertificateSyntax.java | 6 ++----
opends/src/messages/messages/schema.properties | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/opends/src/messages/messages/schema.properties b/opends/src/messages/messages/schema.properties
index e1ec32c..fb64bda 100644
--- a/opends/src/messages/messages/schema.properties
+++ b/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"
diff --git a/opends/src/server/org/opends/server/schema/CertificateSyntax.java b/opends/src/server/org/opends/server/schema/CertificateSyntax.java
index 0d6dc0b..eb8e021 100644
--- a/opends/src/server/org/opends/server/schema/CertificateSyntax.java
+++ b/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;
}
--
Gitblit v1.10.0