From 842ed9a4e089384913c27f036d16e9a5a9facaf7 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 11 Oct 2013 10:35:06 +0000
Subject: [PATCH] Fix checkstyle: package org.opends.server.types requires javadoc even for private methods.
---
opends/src/server/org/opends/server/types/RDN.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/types/RDN.java b/opends/src/server/org/opends/server/types/RDN.java
index 860616a..74879b6 100644
--- a/opends/src/server/org/opends/server/types/RDN.java
+++ b/opends/src/server/org/opends/server/types/RDN.java
@@ -1181,6 +1181,20 @@
}
}
+ /**
+ * Compares two attribute values by using the provided OrderingMatchingRule if
+ * it is not null, or relying on alphabetical ordering otherwise.
+ *
+ * @param value1
+ * the first attribute value to compare
+ * @param value2
+ * the second attribute value to compare
+ * @param omr
+ * if not null, the OrderingMatchingRule to use for comparison
+ * @return A negative integer if this value1 should come before the value2, a
+ * positive integer if value1 should come after value2, or zero if
+ * there is no difference with regard to ordering.
+ */
private int compare(AttributeValue value1, AttributeValue value2,
OrderingMatchingRule omr)
{
--
Gitblit v1.10.0