You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2020/02/08 17:31:30 UTC

[camel-spring-boot] branch master updated: Break dependency between camel-tooling-model and camel-tooling-util

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

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new bff6304  Break dependency between camel-tooling-model and camel-tooling-util
bff6304 is described below

commit bff630478d3dfcc57dd8adc4342d67202658e314
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sat Feb 8 18:30:28 2020 +0100

    Break dependency between camel-tooling-model and camel-tooling-util
    
    Fix camel-spring-boot-generator-maven-plugin compilation.
---
 .../springboot/maven/model/SpringBootAutoConfigureOptionModel.java  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/model/SpringBootAutoConfigureOptionModel.java b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/model/SpringBootAutoConfigureOptionModel.java
index ce62133..d24e8fb 100644
--- a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/model/SpringBootAutoConfigureOptionModel.java
+++ b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/model/SpringBootAutoConfigureOptionModel.java
@@ -16,9 +16,7 @@
  */
 package org.apache.camel.springboot.maven.model;
 
-import org.apache.camel.tooling.util.Strings;
-
-import static org.apache.camel.tooling.util.Strings.wrapCamelCaseWords;
+import org.apache.camel.tooling.model.Strings;
 
 public class SpringBootAutoConfigureOptionModel {
 
@@ -70,7 +68,7 @@ public class SpringBootAutoConfigureOptionModel {
 
         // if its some kind of custom java object then lets wrap it as its long
         if (!javaType.startsWith("java.")) {
-            text = wrapCamelCaseWords(text, watermark, " ");
+            text = Strings.wrapCamelCaseWords(text, watermark, " ");
         }
 
         return text;