]> source.dussan.org Git - jgit.git/commit
Mark COMMIT_GENERATION_* constants final 50/202450/2
authorAntoine Musso <hashar@free.fr>
Fri, 9 Jun 2023 12:03:27 +0000 (14:03 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 9 Jun 2023 14:40:35 +0000 (16:40 +0200)
commitc7960910f0baa0fe7e5b7e24e8681afeffea22a0
treefb37097cb639aac74ac181835081495e45fcbbb0
parentff4caff26ad4895e382a67ca92efae5757ca02cf
Mark COMMIT_GENERATION_* constants final

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
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java