In org.eclipse.jgit.lib.Constants the constants are all marked final
with the exception of:
- COMMIT_GENERATION_UNKOWN
- COMMIT_GENERATION_NOT_COMPUTED
They were introduced by
cf70e7cbe4f without the `final` keyword while
other constants have it which certainly has been forgotten.
The javadoc `{@value}` tag causes raises a warning about the fields not
being constants which is how I have discovered the ommission.
Change-Id: I0ad87f42355440c7d50158e773a280a0526e9671
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/jgit/lib/Constants.java" type="org.eclipse.jgit.lib.Constants">
+ <filter id="388100214">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.Constants"/>
+ <message_argument value="COMMIT_GENERATION_NOT_COMPUTED"/>
+ </message_arguments>
+ </filter>
+ <filter id="388100214">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.Constants"/>
+ <message_argument value="COMMIT_GENERATION_UNKNOWN"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/jgit/revwalk/RevCommit.java" type="org.eclipse.jgit.revwalk.RevCommit">
<filter id="1193279491">
<message_arguments>
*
* @since 6.5
*/
- public static int COMMIT_GENERATION_UNKNOWN = Integer.MAX_VALUE;
+ public static final int COMMIT_GENERATION_UNKNOWN = Integer.MAX_VALUE;
/**
* If a commit-graph file was written by a version of Git that did not
*
* @since 6.5
*/
- public static int COMMIT_GENERATION_NOT_COMPUTED = 0;
+ public static final int COMMIT_GENERATION_NOT_COMPUTED = 0;
private Constants() {
// Hide the default constructor