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 1e65537 Fixed CS
1e65537 is described below
commit 1e655373f312f29236b30ec45ee40503ff0711d0
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Aug 29 11:23:39 2018 +0200
Fixed CS
---
.../org/apache/camel/component/quickfixj/QuickfixjEngine.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git
a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
index e455033..ff85f57 100644
---
a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
+++
b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
@@ -418,11 +418,10 @@ public class QuickfixjEngine extends ServiceSupport {
boolean hasRole = false;
Iterator<SessionID> sessionIdItr = settings.sectionIterator();
while (sessionIdItr.hasNext()) {
- if (connectorRole.equals(settings.getString(sessionIdItr.next(),
- SessionFactory.SETTING_CONNECTION_TYPE))) {
- hasRole = true;
- break;
- }
+ if (connectorRole.equals(settings.getString(sessionIdItr.next(),
SessionFactory.SETTING_CONNECTION_TYPE))) {
+ hasRole = true;
+ break;
+ }
}
return hasRole;
}