Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java')
-rw-r--r--bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java b/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java
index ea16184f4..42123b2ea 100644
--- a/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java
+++ b/bundles/org.eclipse.equinox.http.jetty/src/org/eclipse/equinox/http/jetty/internal/HttpServerManager.java
@@ -337,9 +337,7 @@ public class HttpServerManager implements ManagedServiceFactory {
thread.setContextClassLoader(contextLoader);
try {
sessionDestroyed.invoke(httpServiceServlet, event.getSession().getId());
- } catch (IllegalAccessException e) {
- // not likely
- } catch (IllegalArgumentException e) {
+ } catch (IllegalAccessException | IllegalArgumentException e) {
// not likely
} catch (InvocationTargetException e) {
throw new RuntimeException(e.getCause());
@@ -355,9 +353,7 @@ public class HttpServerManager implements ManagedServiceFactory {
thread.setContextClassLoader(contextLoader);
try {
sessionIdChanged.invoke(httpServiceServlet, oldSessionId);
- } catch (IllegalAccessException e) {
- // not likely
- } catch (IllegalArgumentException e) {
+ } catch (IllegalAccessException | IllegalArgumentException e) {
// not likely
} catch (InvocationTargetException e) {
throw new RuntimeException(e.getCause());

Back to the top