diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2020-02-19 13:15:43 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2020-02-19 13:15:43 +0900 |
commit | 064834d350d38f672a69947cf924f56d52bd1274 (patch) | |
tree | c56d776badc564cd14f17df1e4fe7dc9f5d8409d /org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java | |
parent | 2d1acae6d8a5e90e7bb5192ce1b99f2e2f436775 (diff) | |
download | jgit-064834d350d38f672a69947cf924f56d52bd1274.tar.gz jgit-064834d350d38f672a69947cf924f56d52bd1274.zip |
Reorder modifiers to follow Java Language Specification
The Java Language Specification recommends listing modifiers in
the following order:
1. Annotations
2. public
3. protected
4. private
5. abstract
6. static
7. final
8. transient
9. volatile
10. synchronized
11. native
12. strictfp
Not following this convention has no technical impact, but will reduce
the code's readability because most developers are used to the standard
order.
This was detected using SonarLint.
Change-Id: I9cddecb4f4234dae1021b677e915be23d349a380
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java index 74c712c46c..8730d66ecc 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdOwnerMap.java @@ -355,7 +355,7 @@ public class ObjectIdOwnerMap<V extends ObjectIdOwnerMap.Entry> } /** Type of entry stored in the {@link ObjectIdOwnerMap}. */ - public static abstract class Entry extends ObjectId { + public abstract static class Entry extends ObjectId { transient Entry next; /** |