GitHub user BruceKuiLiu opened a pull request:

    https://github.com/apache/camel/pull/2032

    Remove the useless condition.

    The two conditional expressions always return true in their current control 
flow.
    They are useless.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/BruceKuiLiu/camel Useless

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2032.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2032
    
----
commit ba6f5a5c9f86c3c995f692c2c40f2a8a143babb9
Author: Kui LIU <[email protected]>
Date:   2017-10-12T09:48:29Z

    Remove the useless condition.
    
    The value of i is always over 0, "i > 0" is an useless condition in the 
current control flow.

commit fb8dde07f1821fcf7c827a4c725ea1537e4c14f0
Author: Kui LIU <[email protected]>
Date:   2017-10-12T10:05:12Z

    Remove the useless condition.
    
    The value of port is always less than or equal to 0, "port <= 0" always 
returns true in the current control flow.
    It is an useless condition.

----


---

Reply via email to