[camel] branch master updated: Fixed tests and use correct hl7 expression definition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Fixed tests and use correct hl7 expression definition

davsclaus-2
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 44ff683  Fixed tests and use correct hl7 expression definition
44ff683 is described below

commit 44ff68380c97eabbaabeea79f1ad2b10181489f9
Author: Claus Ibsen <[hidden email]>
AuthorDate: Thu Feb 13 05:50:18 2020 +0100

    Fixed tests and use correct hl7 expression definition
---
 .../java/org/apache/camel/component/hl7/HL7.java   |  1 +
 .../camel/component/hl7/Hl7TerserExpression.java   | 32 ----------------------
 2 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7.java
index ee39912..c385974 100644
--- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7.java
+++ b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7.java
@@ -24,6 +24,7 @@ import org.apache.camel.Exchange;
 import org.apache.camel.Expression;
 import org.apache.camel.Predicate;
 import org.apache.camel.builder.ValueBuilder;
+import org.apache.camel.model.language.Hl7TerserExpression;
 import org.apache.camel.support.ExpressionAdapter;
 
 public final class HL7 {
diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/Hl7TerserExpression.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/Hl7TerserExpression.java
deleted file mode 100644
index 01e1169..0000000
--- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/Hl7TerserExpression.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hl7;
-
-import org.apache.camel.model.language.ExpressionDefinition;
-
-class Hl7TerserExpression extends ExpressionDefinition {
-
-    Hl7TerserExpression(String expression) {
-        super(expression);
-    }
-
-    @Override
-    public String getLanguage() {
-        return "hl7terser";
-    }
-
-}