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/08/01 09:32:35 UTC

[camel] 02/03: CAMEL-13801 - Fixed CS for Camel-Spring-Redis

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 228f833b1dc9a6b090d3cbe65be89c134d6680af
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Aug 1 11:30:26 2019 +0200

    CAMEL-13801 - Fixed CS for Camel-Spring-Redis
---
 .../apache/camel/component/redis/RedisProducerIntegrationTest.java | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisProducerIntegrationTest.java b/components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisProducerIntegrationTest.java
index a34c1a6..949a54a 100644
--- a/components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisProducerIntegrationTest.java
+++ b/components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisProducerIntegrationTest.java
@@ -34,7 +34,7 @@ public class RedisProducerIntegrationTest extends RedisTestSupport {
 
     @Override
     protected Registry createCamelRegistry() throws Exception {
-    	Registry registry = new SimpleRegistry();
+        Registry registry = new SimpleRegistry();
         redisTemplate = new RedisTemplate<>();
         redisTemplate.setConnectionFactory(CONNECTION_FACTORY);
         redisTemplate.afterPropertiesSet();
@@ -45,10 +45,7 @@ public class RedisProducerIntegrationTest extends RedisTestSupport {
 
     @Test
     public void shouldSetAString() throws Exception {
-        sendHeaders(
-                RedisConstants.COMMAND, "SET",
-                RedisConstants.KEY, "key1",
-                RedisConstants.VALUE, "value");
+        sendHeaders(RedisConstants.COMMAND, "SET", RedisConstants.KEY, "key1", RedisConstants.VALUE, "value");
 
         assertEquals("value", redisTemplate.opsForValue().get("key1"));
     }