Repository: camel
Updated Branches:
  refs/heads/master 90327ce59 -> 2cf199286


CAMEL-11568: fix code style

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2cf19928
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2cf19928
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2cf19928

Branch: refs/heads/master
Commit: 2cf199286cedd74743578ccf79eab6630f7fe292
Parents: 90327ce
Author: Stephan Siano <[email protected]>
Authored: Fri Jul 21 07:31:53 2017 +0200
Committer: Stephan Siano <[email protected]>
Committed: Fri Jul 21 07:31:53 2017 +0200

----------------------------------------------------------------------
 .../http/common/cookie/CookieHandlerTest.java   | 28 ++++++++++----------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2cf19928/components/camel-http-common/src/test/java/org/apache/camel/http/common/cookie/CookieHandlerTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-http-common/src/test/java/org/apache/camel/http/common/cookie/CookieHandlerTest.java
 
b/components/camel-http-common/src/test/java/org/apache/camel/http/common/cookie/CookieHandlerTest.java
index 32532b3..5e38584 100644
--- 
a/components/camel-http-common/src/test/java/org/apache/camel/http/common/cookie/CookieHandlerTest.java
+++ 
b/components/camel-http-common/src/test/java/org/apache/camel/http/common/cookie/CookieHandlerTest.java
@@ -36,6 +36,20 @@ import org.junit.runners.Parameterized.Parameters;
 
 @RunWith(Parameterized.class)
 public class CookieHandlerTest extends CamelTestSupport {
+    private CookieHandler cookieHandler;
+    private CookiePolicy cookiePolicy;
+    private int expectedNumberOfCookieValues;
+    private String uriStr;
+
+    private Exchange exchange;
+
+    public CookieHandlerTest(CookieHandler cookieHandler, CookiePolicy 
cookiePolicy, String uri, int expectedNumberOfCookieValues, String description) 
{
+        this.cookieHandler = cookieHandler;
+        this.cookiePolicy = cookiePolicy;
+        this.uriStr = uri;
+        this.expectedNumberOfCookieValues = expectedNumberOfCookieValues;
+    }
+
     /*
      * This test tries to set a cookie for domain .example.com from host
      * www.example.com or www.sub.example.com According to RFC 2965 section
@@ -59,20 +73,6 @@ public class CookieHandlerTest extends CamelTestSupport {
                                     {new ExchangeCookieHandler(), 
CookiePolicy.ACCEPT_ALL, "http://www.sub.example.com/acme/foo";, 2, 
"ExchangeCookieHandler with ACCEPT_ALL"}});
     }
 
-    private String uriStr;
-    private CookieHandler cookieHandler;
-    private CookiePolicy cookiePolicy;
-    private int expectedNumberOfCookieValues;
-
-    private Exchange exchange;
-
-    public CookieHandlerTest(CookieHandler cookieHandler, CookiePolicy 
cookiePolicy, String uri, int expectedNumberOfCookieValues, String description) 
{
-        this.cookieHandler = cookieHandler;
-        this.cookiePolicy = cookiePolicy;
-        this.uriStr = uri;
-        this.expectedNumberOfCookieValues = expectedNumberOfCookieValues;
-    }
-
     @Before
     public void setUp() throws Exception {
         super.setUp();

Reply via email to