From 21c27f6370dce8e1dec37ae82d6cd18d391e689b Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 10 Nov 2020 06:33:04 -0600 Subject: [PATCH] Fixing checkstyle violations Signed-off-by: Joakim Erdfelt --- .../main/java/org/eclipse/jetty/servlet/ServletHolder.java | 2 +- .../src/main/java/org/eclipse/jetty/test/InfoServlet.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHolder.java b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHolder.java index f84d21c4a46..7a74be39d00 100644 --- a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHolder.java +++ b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHolder.java @@ -1262,7 +1262,7 @@ public class ServletHolder extends Holder implements UserIdentity.Scope public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException { if (LOG.isDebugEnabled()) - LOG.debug("Unavailable {}", req, _unavailableException); + LOG.debug("Unavailable {}", req, _unavailableException); if (_unavailableStart == null) { ((HttpServletResponse)res).sendError(HttpServletResponse.SC_NOT_FOUND); diff --git a/tests/test-webapps/test-cdi-common-webapp/src/main/java/org/eclipse/jetty/test/InfoServlet.java b/tests/test-webapps/test-cdi-common-webapp/src/main/java/org/eclipse/jetty/test/InfoServlet.java index c158735bb81..0e8b84f0bcc 100644 --- a/tests/test-webapps/test-cdi-common-webapp/src/main/java/org/eclipse/jetty/test/InfoServlet.java +++ b/tests/test-webapps/test-cdi-common-webapp/src/main/java/org/eclipse/jetty/test/InfoServlet.java @@ -51,7 +51,9 @@ public class InfoServlet extends HttpServlet { out.printf("%16s => %s%n", bean.getName(), bean); for (InjectionPoint ij : bean.getInjectionPoints()) - out.printf("%16s -> %s%n", "", ij); + { + out.printf("%16s -> %s%n", "", ij); + } } } }