camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: make checkstyle happy
Date Mon, 20 Mar 2017 16:12:35 GMT
Repository: camel
Updated Branches:
  refs/heads/master 901b44eab -> d88768738


make checkstyle happy


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

Branch: refs/heads/master
Commit: d8876873806ec972e53c95fdc292d44c81fd071f
Parents: 8cfe898
Author: christian ohr <christian.ohr@gmail.com>
Authored: Thu Mar 16 21:24:40 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 20 17:11:46 2017 +0100

----------------------------------------------------------------------
 .../apache/camel/component/hl7/HL7MLLPConfig.java | 14 +++++++-------
 .../hl7/HL7MLLPCodecMessageFloodingTest.java      | 18 +++++++++---------
 2 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d8876873/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfig.java
----------------------------------------------------------------------
diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfig.java
b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfig.java
index 5f580a7..88d58f0 100644
--- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfig.java
+++ b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfig.java
@@ -42,10 +42,10 @@ public class HL7MLLPConfig {
 
     private boolean produceString = true;
 
-	private CodingErrorAction malformedInputErrorAction = CodingErrorAction.REPORT;
-	
+    private CodingErrorAction malformedInputErrorAction = CodingErrorAction.REPORT;
+
     private CodingErrorAction unmappableCharacterErrorAction = CodingErrorAction.REPORT;
-	
+
     public Charset getCharset() {
         return charset;
     }
@@ -118,20 +118,20 @@ public class HL7MLLPConfig {
     public void setProduceString(boolean produceString) {
         this.produceString = produceString;
     }
-	
+
     public CodingErrorAction getMalformedInputErrorAction() {
         return malformedInputErrorAction;
     }
 
-	public void setMalformedInputErrorAction(CodingErrorAction malformedInputErrorAction) {
+    public void setMalformedInputErrorAction(CodingErrorAction malformedInputErrorAction)
{
         this.malformedInputErrorAction = malformedInputErrorAction;
     }
-	
+
     public CodingErrorAction getUnmappableCharacterErrorAction() {
         return unmappableCharacterErrorAction;
     }
 
     public void setUnmappableCharacterErrorAction(CodingErrorAction unmappableCharacterErrorAction)
{
         this.unmappableCharacterErrorAction = unmappableCharacterErrorAction;
-    }	
+    }
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/d8876873/components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
b/components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
index f1e5ba3..5b08584 100644
--- a/components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
+++ b/components/camel-hl7/src/test/java/org/apache/camel/component/hl7/HL7MLLPCodecMessageFloodingTest.java
@@ -16,13 +16,6 @@
  */
 package org.apache.camel.component.hl7;
 
-import ca.uhn.hl7v2.model.Message;
-import org.apache.camel.Exchange;
-import org.apache.camel.Processor;
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.impl.JndiRegistry;
-import org.junit.Test;
-
 import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;
 import java.io.DataInputStream;
@@ -32,6 +25,13 @@ import java.net.Socket;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 
+import ca.uhn.hl7v2.model.Message;
+import org.apache.camel.Exchange;
+import org.apache.camel.Processor;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.impl.JndiRegistry;
+import org.junit.Test;
+
 /**
  * Unit test for the HL7MLLP Codec.
  */
@@ -103,8 +103,8 @@ public class HL7MLLPCodecMessageFloodingTest extends HL7TestSupport {
         });
         t.start();
 
-        String in = "MSH|^~\\&|MYSENDER|MYRECEIVER|MYAPPLICATION||200612211200||QRY^A19|X%dX|P|2.4\r"
+
-                "QRD|200612211200|R|I|GetPatient|||1^RD|0101701234|DEM||";
+        String in = "MSH|^~\\&|MYSENDER|MYRECEIVER|MYAPPLICATION||200612211200||QRY^A19|X%dX|P|2.4\r"
+                + "QRD|200612211200|R|I|GetPatient|||1^RD|0101701234|DEM||";
         for (int i = 0; i < messageCount; i++) {
             String msg = String.format(in, i);
             outputStream.write(11);


Mime
View raw message