You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/11/05 16:27:02 UTC

[camel] 05/11: CAMEL-14137: code changed according to pr change request.

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9ad8e96fb48434573b678906fd2fabe0064a5af8
Author: Luigi De Masi <ld...@redhat.com>
AuthorDate: Tue Nov 5 11:18:22 2019 +0100

     CAMEL-14137: code changed according to pr change request.
---
 .../java/org/apache/camel/component/jetty/JettyHttpComponent.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index c01f769..3689017 100644
--- a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -481,13 +481,13 @@ public abstract class JettyHttpComponent extends HttpCommonComponent implements
                         this.removeServerMBean(connectorRef.server);
                         //mbContainer.removeBean(connectorRef.connector);
                     }
-                    if (defaultQueuedThreadPool !=null){
+                    if (defaultQueuedThreadPool != null) {
                         try {
                             defaultQueuedThreadPool.stop();
-                        }catch(Throwable t){
+                        } catch (Throwable t) {
                             defaultQueuedThreadPool.destroy();
-                        }finally {
-                            defaultQueuedThreadPool =null;
+                        } finally {
+                            defaultQueuedThreadPool = null;
                         }
                     }
                 }