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/06/20 10:27:41 UTC

[camel] branch master updated (2a51987 -> 5fbc859)

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

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


    from 2a51987  CAMEL-13663: camel-main-maven-plugin to generte spring-boot tooling metadata to fool Java editors to have code completions for Camel Main application.properties files.
     new 1783874  Fixed CS for Camel-main maven plugin
     new 5fbc859  Fixed CS for camel-reactive-executor-vertx

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/camel/maven/AbstractMainMojo.java    | 2 +-
 .../org/apache/camel/reactive/vertx/VertXReactiveExecutor.java    | 2 +-
 .../src/test/java/org/apache/camel/reactive/SimpleMockTest.java   | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)


[camel] 01/02: Fixed CS for Camel-main maven plugin

Posted by ac...@apache.org.
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 1783874eb2d7e2b382523af8ac25bf7e791a6594
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jun 20 12:19:16 2019 +0200

    Fixed CS for Camel-main maven plugin
---
 .../src/main/java/org/apache/camel/maven/AbstractMainMojo.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AbstractMainMojo.java b/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AbstractMainMojo.java
index 0d3e20f..7e14948 100644
--- a/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AbstractMainMojo.java
+++ b/catalog/camel-main-maven-plugin/src/main/java/org/apache/camel/maven/AbstractMainMojo.java
@@ -255,7 +255,7 @@ public abstract class AbstractMainMojo extends AbstractExecMojo {
     private Collection<Artifact> getAllDependencies() {
         List<Artifact> artifacts = new ArrayList<>();
 
-        for (Iterator<?> dependencies = project.getDependencies().iterator(); dependencies.hasNext(); ) {
+        for (Iterator<?> dependencies = project.getDependencies().iterator(); dependencies.hasNext();) {
             Dependency dependency = (Dependency) dependencies.next();
             Artifact art = repositorySystem.createDependencyArtifact(dependency);
             artifacts.add(art);


[camel] 02/02: Fixed CS for camel-reactive-executor-vertx

Posted by ac...@apache.org.
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 5fbc859c822674b504cfe278f50bb1d99d35b0a4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jun 20 12:27:19 2019 +0200

    Fixed CS for camel-reactive-executor-vertx
---
 .../org/apache/camel/reactive/vertx/VertXReactiveExecutor.java    | 2 +-
 .../src/test/java/org/apache/camel/reactive/SimpleMockTest.java   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/components/camel-reactive-executor-vertx/src/main/java/org/apache/camel/reactive/vertx/VertXReactiveExecutor.java b/components/camel-reactive-executor-vertx/src/main/java/org/apache/camel/reactive/vertx/VertXReactiveExecutor.java
index 38a4262..64f78d2 100644
--- a/components/camel-reactive-executor-vertx/src/main/java/org/apache/camel/reactive/vertx/VertXReactiveExecutor.java
+++ b/components/camel-reactive-executor-vertx/src/main/java/org/apache/camel/reactive/vertx/VertXReactiveExecutor.java
@@ -76,7 +76,7 @@ public class VertXReactiveExecutor extends ServiceSupport implements ReactiveExe
         vertx.executeBlocking(future -> {
             task.run();
             future.complete();
-        }, res -> {});
+        }, res -> { });
     }
 
     @Override
diff --git a/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java b/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
index 0fb845f..5a228a1 100644
--- a/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
+++ b/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
@@ -1,13 +1,13 @@
-/**
+/*
  * 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
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *      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.