cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: fix checkstyle errors
Date Fri, 23 Oct 2015 09:15:23 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 1616f1910 -> 42e6fde99


fix checkstyle errors


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/42e6fde9
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/42e6fde9
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/42e6fde9

Branch: refs/heads/master
Commit: 42e6fde997a3b7e7408414e79e2003ec067910f3
Parents: 1616f19
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Oct 23 11:15:07 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Oct 23 11:15:07 2015 +0200

----------------------------------------------------------------------
 .../cxf/transport/http_jetty/JettyHTTPServerEngine.java       | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/42e6fde9/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
index e4da5f4..0b864f5 100644
--- a/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
+++ b/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngine.java
@@ -594,14 +594,11 @@ public class JettyHTTPServerEngine implements ServerEngine {
         
         int major = 8;
         int minor = 0;
-        try
-        {
+        try {
             String[] version = Server.getVersion().split("\\.");
             major = Integer.parseInt(version[0]);
             minor = Integer.parseInt(version[1]);
-        }
-        catch (Exception e)
-        {
+        } catch (Exception e) {
             // unparsable version
         }
     


Mime
View raw message