From 7d3d176e363878f43cd2189e690cc52b40360ce6 Mon Sep 17 00:00:00 2001 From: Carsten Hammer Date: Tue, 14 May 2019 18:35:17 +0200 Subject: Join catch sections using multicatch Change-Id: Ib3ca6d20965a8b80b6cbd76b01fa2dcf8e7c840d Signed-off-by: Carsten Hammer --- .../org/eclipse/equinox/weaving/internal/caching/Activator.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java') diff --git a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java index a648e0ed2..efaf6fcf7 100644 --- a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java +++ b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java @@ -117,12 +117,7 @@ public class Activator implements BundleActivator { enabled = false; } } - } catch (final ClassNotFoundException ex) { - } catch (final SecurityException e) { - } catch (final NoSuchMethodException e) { - } catch (final IllegalArgumentException e) { - } catch (final IllegalAccessException e) { - } catch (final InvocationTargetException e) { + } catch (final ClassNotFoundException | SecurityException | NoSuchMethodException | IllegalArgumentException | IllegalAccessException | InvocationTargetException ex) { } return enabled; -- cgit v1.2.3