From efa949b25f472d7e4c39733678d8f0e5229f8201 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Thu, 26 Dec 2013 15:31:32 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1235 : Migrate configuration framework
---
opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/LDAPProfile.java | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/LDAPProfile.java b/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/LDAPProfile.java
index b266f0a..16dd326 100644
--- a/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/LDAPProfile.java
+++ b/opendj-sdk/opendj-admin/src/main/java/org/opends/server/admin/LDAPProfile.java
@@ -184,8 +184,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public String getAttributeName(AbstractManagedObjectDefinition<?, ?> d, PropertyDefinition<?> pd)
- throws MissingResourceException {
+ public String getAttributeName(AbstractManagedObjectDefinition<?, ?> d, PropertyDefinition<?> pd) {
for (Wrapper profile : profiles) {
String attributeName = profile.getAttributeName(d, pd);
if (attributeName != null) {
@@ -207,7 +206,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public String getRelationChildRDNType(InstantiableRelationDefinition<?, ?> r) throws MissingResourceException {
+ public String getRelationChildRDNType(InstantiableRelationDefinition<?, ?> r) {
if (r.getNamingPropertyDefinition() != null) {
// Use the attribute associated with the naming property.
return getAttributeName(r.getChildDefinition(), r.getNamingPropertyDefinition());
@@ -246,7 +245,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public String getRelationChildRDNType(SetRelationDefinition<?, ?> r) throws MissingResourceException {
+ public String getRelationChildRDNType(SetRelationDefinition<?, ?> r) {
for (Wrapper profile : profiles) {
String rdnType = profile.getRelationChildRDNType(r);
if (rdnType != null) {
@@ -267,7 +266,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public String getObjectClass(AbstractManagedObjectDefinition<?, ?> d) throws MissingResourceException {
+ public String getObjectClass(AbstractManagedObjectDefinition<?, ?> d) {
if (d.isTop()) {
return "top";
}
@@ -295,7 +294,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public List<String> getObjectClasses(AbstractManagedObjectDefinition<?, ?> d) throws MissingResourceException {
+ public List<String> getObjectClasses(AbstractManagedObjectDefinition<?, ?> d) {
LinkedList<String> objectClasses = new LinkedList<String>();
Set<String> s = new HashSet<String>();
@@ -326,7 +325,7 @@
* If the LDAP profile properties file associated with the
* provided managed object definition could not be loaded.
*/
- public String getRelationRDNSequence(RelationDefinition<?, ?> r) throws MissingResourceException {
+ public String getRelationRDNSequence(RelationDefinition<?, ?> r) {
for (Wrapper profile : profiles) {
String rdnSequence = profile.getRelationRDNSequence(r);
if (rdnSequence != null) {
@@ -343,7 +342,7 @@
* @throws NoSuchElementException
* If there are no LDAP profile wrappers.
*/
- public void popWrapper() throws NoSuchElementException {
+ public void popWrapper() {
profiles.removeFirst();
}
--
Gitblit v1.10.0