From 90a6ab6c63699343acf3adcd4346bce2f5665bdd Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 07 Jul 2015 15:12:28 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator
---
opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java b/opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java
index 3430fb7..498f209 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/admin/LDAPProfile.java
@@ -183,7 +183,7 @@
}
/** The list of profile wrappers. */
- private final LinkedList<Wrapper> profiles = new LinkedList<Wrapper>();;
+ private final LinkedList<Wrapper> profiles = new LinkedList<>();;
/** The LDAP profile property table. */
private final ManagedObjectDefinitionResource resource =
@@ -349,8 +349,8 @@
*/
public List<String> getObjectClasses(AbstractManagedObjectDefinition<?, ?> d)
throws MissingResourceException {
- LinkedList<String> objectClasses = new LinkedList<String>();
- Set<String> s = new HashSet<String>();
+ LinkedList<String> objectClasses = new LinkedList<>();
+ Set<String> s = new HashSet<>();
// Add the object classes from the parent hierarchy.
while (d != null) {
@@ -372,11 +372,11 @@
/**
- * Get an LDAP RDN sequence associatied with a relation.
+ * Get an LDAP RDN sequence associated with a relation.
*
* @param r
* The relation.
- * @return Returns the LDAP RDN sequence associatied with a
+ * @return Returns the LDAP RDN sequence associated with a
* relation.
* @throws MissingResourceException
* If the LDAP profile properties file associated with the
--
Gitblit v1.10.0