camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BruceKuiLiu <...@git.apache.org>
Subject [GitHub] camel pull request #2031: Add the "final" modifier to a public static field.
Date Thu, 12 Oct 2017 09:36:14 GMT
GitHub user BruceKuiLiu opened a pull request:

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

    Add the "final" modifier to a public static field.

    This static field public but not final, and could be changed by malicious code or by accident
from another package. The field could be made final to avoid this vulnerability.
    http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL

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

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

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

    https://github.com/apache/camel/pull/2031.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 #2031
    
----
commit efc274bf140882ebde2055211651e916d9f8aee8
Author: Kui LIU <brucekuiliu@gmail.com>
Date:   2017-10-12T09:34:21Z

    Add the "final" modifier to a public static field.
    
    This static field public but not final, and could be changed by malicious code or by accident
from another package. The field could be made final to avoid this vulnerability.
    http://findbugs.sourceforge.net/bugDescriptions.html#MS_SHOULD_BE_FINAL

----


---

Mime
View raw message