Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse2020-02-19 04:15:43 +0000
committerDavid Pursehouse2020-02-19 04:15:43 +0000
commit064834d350d38f672a69947cf924f56d52bd1274 (patch)
treec56d776badc564cd14f17df1e4fe7dc9f5d8409d /org.eclipse.jgit.http.server
parent2d1acae6d8a5e90e7bb5192ce1b99f2e2f436775 (diff)
downloadjgit-064834d350d38f672a69947cf924f56d52bd1274.tar.gz
jgit-064834d350d38f672a69947cf924f56d52bd1274.tar.xz
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.http.server')
-rw-r--r--org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ObjectFileServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ObjectFileServlet.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ObjectFileServlet.java
index 5a27be6430..922a98addb 100644
--- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ObjectFileServlet.java
+++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ObjectFileServlet.java
@@ -83,7 +83,7 @@ abstract class ObjectFileServlet extends HttpServlet {
}
}
- private static abstract class PackData extends ObjectFileServlet {
+ private abstract static class PackData extends ObjectFileServlet {
private static final long serialVersionUID = 1L;
PackData(String contentType) {

Back to the top