From e7b3515b687c082229fc3106ea7badbc2dc61d4a Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 20 Sep 2013 23:14:42 +0000
Subject: [PATCH] Fix various FindBugs warnings.
---
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
index edb811a..40af8f0 100644
--- a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
+++ b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
@@ -708,7 +708,7 @@
private AttributeNameStrategy(final AttributeType dnAttribute,
final AttributeDescription idAttribute, final boolean isServerProvided) {
this.dnAttribute = AttributeDescription.create(dnAttribute);
- if (dnAttribute.equals(idAttribute)) {
+ if (this.dnAttribute.equals(idAttribute)) {
throw new IllegalArgumentException("DN and ID attributes must be different");
}
this.idAttribute = ensureNotNull(idAttribute);
--
Gitblit v1.10.0