From 964b90734f60e5622596e08e6e0c6ae3226ad37d Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 18 May 2015 08:30:36 +0000
Subject: [PATCH] AutoRefactor'ed use multi-catch
---
opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/SubCommandHandler.java | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/SubCommandHandler.java b/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/SubCommandHandler.java
index a581515..fd7cbef 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/SubCommandHandler.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/dsconfig/SubCommandHandler.java
@@ -977,17 +977,11 @@
// For sets the RDN is the type string, the ufn is more friendly.
children.put(cd.getUserFriendlyName().toString(), childName);
}
- } catch (DefinitionDecodingException e) {
- // Add it anyway: maybe the user is trying to fix the problem.
- children.put(childName, childName);
- } catch (ManagedObjectDecodingException e) {
+ } catch (DefinitionDecodingException | ManagedObjectDecodingException | LdapException e) {
// Add it anyway: maybe the user is trying to fix the problem.
children.put(childName, childName);
} catch (ManagedObjectNotFoundException e) {
// Skip it - the managed object has been concurrently removed.
- } catch (LdapException e) {
- // Add it anyway: maybe the user is trying to fix the problem.
- children.put(childName, childName);
}
}
--
Gitblit v1.10.0