You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2019/11/15 12:26:19 UTC

[tomee] 11/11: Checkstyle

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

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

commit 4ec07effc3d93b33a8b62f7b783d9c888891e276
Author: Jonathan Gallimore <jo...@jrg.me.uk>
AuthorDate: Fri Nov 15 12:07:24 2019 +0000

    Checkstyle
---
 .../src/main/java/org/apache/tomee/webservices/TomcatRsRegistry.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tomee/tomee-jaxrs/src/main/java/org/apache/tomee/webservices/TomcatRsRegistry.java b/tomee/tomee-jaxrs/src/main/java/org/apache/tomee/webservices/TomcatRsRegistry.java
index 86d4bd1..92cd968 100644
--- a/tomee/tomee-jaxrs/src/main/java/org/apache/tomee/webservices/TomcatRsRegistry.java
+++ b/tomee/tomee-jaxrs/src/main/java/org/apache/tomee/webservices/TomcatRsRegistry.java
@@ -159,7 +159,9 @@ public class TomcatRsRegistry implements RsRegistry {
         final Container[] children = host.findChildren();
 
         for (final Container child : children) {
-            if (! Context.class.isInstance(child)) continue;
+            if (! Context.class.isInstance(child)) {
+                continue;
+            }
 
             final Context context = (Context) child;