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.test/exttst | |
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.test/exttst')
-rw-r--r-- | org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java b/org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java index f597f2fe3c..6a006e2896 100644 --- a/org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java +++ b/org.eclipse.jgit.test/exttst/org/eclipse/jgit/patch/EGitPatchHistoryTest.java @@ -185,7 +185,7 @@ public class EGitPatchHistoryTest { } } - static abstract class CommitReader { + abstract static class CommitReader { private Process proc; CommitReader(String[] args) throws IOException { |