directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject [directory-studio] 02/04: Fix changed method signature
Date Sun, 18 Mar 2018 21:46:50 GMT
This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git

commit b64e4130ca983c8cd0def5fc0359eb09b9437873
Author: Stefan Seelmann <mail@stefan-seelmann.de>
AuthorDate: Sun Mar 18 22:44:49 2018 +0100

    Fix changed method signature
---
 .../apacheds/configuration/jobs/EntryBasedConfigurationPartition.java | 4 +---
 .../studio/openldap/config/jobs/EntryBasedConfigurationPartition.java | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/jobs/EntryBasedConfigurationPartition.java
b/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/jobs/EntryBasedConfigurationPartition.java
index 4458b7d..d04a88c 100644
--- a/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/jobs/EntryBasedConfigurationPartition.java
+++ b/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/jobs/EntryBasedConfigurationPartition.java
@@ -22,8 +22,6 @@ package org.apache.directory.studio.apacheds.configuration.jobs;
 
 import java.util.UUID;
 
-import javax.naming.InvalidNameException;
-
 import org.apache.directory.api.ldap.model.constants.SchemaConstants;
 import org.apache.directory.api.ldap.model.entry.Entry;
 import org.apache.directory.api.ldap.model.exception.LdapException;
@@ -56,7 +54,7 @@ public class EntryBasedConfigurationPartition extends AbstractLdifPartition
     /**
      * {@inheritDoc}
      */
-    protected void doInit() throws InvalidNameException, Exception
+    protected void doInit() throws LdapException
     {
         setId( "config" ); //$NON-NLS-1$
         setSuffixDn( new Dn( ServerDNConstants.CONFIG_DN ) ); //$NON-NLS-1$
diff --git a/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/jobs/EntryBasedConfigurationPartition.java
b/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/jobs/EntryBasedConfigurationPartition.java
index ee44c59..5973865 100644
--- a/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/jobs/EntryBasedConfigurationPartition.java
+++ b/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/jobs/EntryBasedConfigurationPartition.java
@@ -55,7 +55,7 @@ public class EntryBasedConfigurationPartition extends AbstractLdifPartition
      * {@inheritDoc}
      */
     @Override
-    protected void doInit() throws Exception
+    protected void doInit() throws LdapException
     {
         setId( "config" );
         setSuffixDn( new Dn( "cn=config" ) );

-- 
To stop receiving notification emails like this one, please contact
seelmann@apache.org.

Mime
View raw message