From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/server/extensions/ExactMatchIdentityMapper.java | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/ExactMatchIdentityMapper.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/ExactMatchIdentityMapper.java
index 03cc45e..7d35913 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/ExactMatchIdentityMapper.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/ExactMatchIdentityMapper.java
@@ -74,8 +74,6 @@
/** The set of attributes to return in search result entries. */
private LinkedHashSet<String> requestedAttributes;
-
-
/**
* Creates a new instance of this exact match identity mapper. All
* initialization should be performed in the {@code initializeIdentityMapper}
@@ -88,9 +86,6 @@
// Don't do any initialization here.
}
-
-
- /** {@inheritDoc} */
@Override
public void initializeIdentityMapper(
ExactMatchIdentityMapperCfg configuration)
@@ -101,7 +96,6 @@
currentConfig = configuration;
configEntryDN = currentConfig.dn();
-
// Get the attribute types to use for the searches. Ensure that they are
// all indexed for equality.
attributeTypes =
@@ -126,25 +120,17 @@
}
}
-
// Create the attribute list to include in search requests. We want to
// include all user and operational attributes.
requestedAttributes = newLinkedHashSet("*", "+");
}
-
-
- /**
- * Performs any finalization that may be necessary for this identity mapper.
- */
@Override
public void finalizeIdentityMapper()
{
currentConfig.removeExactMatchChangeListener(this);
}
-
-
/**
* Retrieves the user entry that was mapped to the provided identification
* string.
@@ -167,7 +153,6 @@
ExactMatchIdentityMapperCfg config = currentConfig;
AttributeType[] attributeTypes = this.attributeTypes;
-
// Construct the search filter to use to make the determination.
SearchFilter filter;
if (attributeTypes.length == 1)
@@ -187,7 +172,6 @@
filter = SearchFilter.createORFilter(filterComps);
}
-
// Iterate through the set of search bases and process an internal search
// to find any matching entries. Since we'll only allow a single match,
// then use size and time limits to constrain costly searches resulting from
@@ -262,9 +246,6 @@
return matchingEntry;
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isConfigurationAcceptable(IdentityMapperCfg configuration,
List<LocalizableMessage> unacceptableReasons)
@@ -274,9 +255,6 @@
return isConfigurationChangeAcceptable(config, unacceptableReasons);
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isConfigurationChangeAcceptable(
ExactMatchIdentityMapperCfg configuration,
@@ -309,9 +287,6 @@
return configAcceptable;
}
-
-
- /** {@inheritDoc} */
@Override
public ConfigChangeResult applyConfigurationChange(
ExactMatchIdentityMapperCfg configuration)
--
Gitblit v1.10.0