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
The following commit(s) were added to refs/heads/master by this push:
new d055524 Camel-support: Fixed CS
d055524 is described below
commit d055524e2e1283b6c5dac3a0b4d8eccf26e6dc23
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue May 19 09:17:15 2020 +0200
Camel-support: Fixed CS
---
.../main/java/org/apache/camel/support/PropertyBindingSupport.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
b/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
index 6ab4322..ca08ab0 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/PropertyBindingSupport.java
@@ -973,9 +973,9 @@ public final class PropertyBindingSupport {
continue;
}
// must be a public static method that returns something
- if (!Modifier.isStatic(method.getModifiers()) ||
- !Modifier.isPublic(method.getModifiers()) ||
- method.getReturnType() == Void.TYPE) {
+ if (!Modifier.isStatic(method.getModifiers())
+ || !Modifier.isPublic(method.getModifiers())
+ || method.getReturnType() == Void.TYPE) {
continue;
}
// must match number of parameters