You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/12/24 14:06:56 UTC
[camel] branch main updated: Drop Java 8
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 7a5077d Drop Java 8
7a5077d is described below
commit 7a5077da25b7136865aed9135274825872104379
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:06:24 2021 +0100
Drop Java 8
---
components/camel-csimple-joor/pom.xml | 17 +----------------
.../src/generated/resources/csimple-joor.json | 2 +-
.../camel/language/csimple/joor/OriginalSimpleTest.java | 11 -----------
3 files changed, 2 insertions(+), 28 deletions(-)
diff --git a/components/camel-csimple-joor/pom.xml b/components/camel-csimple-joor/pom.xml
index 80d00ce..93c93b8 100644
--- a/components/camel-csimple-joor/pom.xml
+++ b/components/camel-csimple-joor/pom.xml
@@ -36,7 +36,7 @@
<properties>
<firstVersion>3.7.0</firstVersion>
<title>CSimple jOOR</title>
- <label>dlanguage,java</label>
+ <label>language,java</label>
</properties>
<dependencies>
@@ -45,7 +45,6 @@
<artifactId>camel-core-languages</artifactId>
</dependency>
- <!-- requires Java 11 or 14 -->
<dependency>
<groupId>org.jooq</groupId>
<artifactId>joor</artifactId>
@@ -65,18 +64,4 @@
</dependency>
</dependencies>
- <!-- skip testing on java 8 -->
- <profiles>
- <profile>
- <id>jdk8</id>
- <activation>
- <jdk>[,8)</jdk>
- </activation>
- <properties>
- <maven.test.skip.exec>true</maven.test.skip.exec>
- </properties>
- </profile>
- </profiles>
-
-
</project>
\ No newline at end of file
diff --git a/components/camel-csimple-joor/src/generated/resources/csimple-joor.json b/components/camel-csimple-joor/src/generated/resources/csimple-joor.json
index c7a2ba3..f65107e 100644
--- a/components/camel-csimple-joor/src/generated/resources/csimple-joor.json
+++ b/components/camel-csimple-joor/src/generated/resources/csimple-joor.json
@@ -6,7 +6,7 @@
"description": "jOOR compiler for csimple language",
"deprecated": false,
"firstVersion": "3.7.0",
- "label": "dlanguage,java",
+ "label": "language,java",
"supportLevel": "Stable",
"groupId": "org.apache.camel",
"artifactId": "camel-csimple-joor",
diff --git a/components/camel-csimple-joor/src/test/java/org/apache/camel/language/csimple/joor/OriginalSimpleTest.java b/components/camel-csimple-joor/src/test/java/org/apache/camel/language/csimple/joor/OriginalSimpleTest.java
index 7850638..20e341a 100644
--- a/components/camel-csimple-joor/src/test/java/org/apache/camel/language/csimple/joor/OriginalSimpleTest.java
+++ b/components/camel-csimple-joor/src/test/java/org/apache/camel/language/csimple/joor/OriginalSimpleTest.java
@@ -667,17 +667,6 @@ public class OriginalSimpleTest extends LanguageTestSupport {
}
@Test
- public void testLanguagesInContext() throws Exception {
- // evaluate so we know there is 1 language in the context
- assertExpression("${id}", exchange.getIn().getMessageId());
-
- assertEquals(2, context.getLanguageNames().size());
- Iterator<String> it = context.getLanguageNames().iterator();
- assertEquals("csimple", it.next());
- assertEquals("simple", it.next());
- }
-
- @Test
public void testComplexExpressions() throws Exception {
assertExpression("hey ${in.header.foo}", "hey abc");
assertExpression("hey ${in.header:foo}", "hey abc");