camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/3] camel git commit: Fixed CS related to CAMEL-8726
Date Fri, 01 May 2015 08:31:31 GMT
Fixed CS related to CAMEL-8726


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

Branch: refs/heads/master
Commit: 25ec134d2521992d7edc55ec5c2edea1b76bd56b
Parents: 35827b4
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri May 1 10:27:08 2015 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri May 1 10:27:08 2015 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/openshift/OpenShiftProducer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/25ec134d/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftProducer.java
b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftProducer.java
index 23026c7..1e01c4e 100644
--- a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftProducer.java
+++ b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/OpenShiftProducer.java
@@ -476,7 +476,7 @@ public class OpenShiftProducer extends DefaultProducer {
             if (!app.canUpdateEnvironmentVariables()) {
                 throw new CamelExchangeException("The application with id " + name + " can't
update Environment Variables", exchange);
             }
-            if ((!ObjectHelper.isEmpty(environmentVariables) && environmentVariables
!= null)) {
+            if (!ObjectHelper.isEmpty(environmentVariables) && environmentVariables
!= null) {
                 Map<String, IEnvironmentVariable> result = app.addEnvironmentVariables(environmentVariables);
                 exchange.getIn().setBody(result);
             } else {


Mime
View raw message