You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2017/05/24 18:41:38 UTC

[50/50] [abbrv] commons-imaging git commit: Fix Checkstyle error: 'static' modifier out of order with the JLS suggestions.

Fix Checkstyle error: 'static' modifier out of order with the JLS suggestions.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/imaging/trunk@1795465 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/commons-imaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-imaging/commit/f46d642f
Tree: http://git-wip-us.apache.org/repos/asf/commons-imaging/tree/f46d642f
Diff: http://git-wip-us.apache.org/repos/asf/commons-imaging/diff/f46d642f

Branch: refs/heads/master
Commit: f46d642f1c4893bcbb90dbd7aec867ab3cf0d62e
Parents: 8a583a2
Author: Benedikt Ritter <br...@apache.org>
Authored: Wed May 17 21:46:58 2017 +0000
Committer: Benedikt Ritter <br...@apache.org>
Committed: Wed May 17 21:46:58 2017 +0000

----------------------------------------------------------------------
 .../imaging/formats/gif/GifImageParser.java     | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-imaging/blob/f46d642f/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
index ae23539..f3d4e67 100644
--- a/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
+++ b/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
@@ -60,20 +60,20 @@ public class GifImageParser extends ImageParser {
     private static final String DEFAULT_EXTENSION = ".gif";
     private static final String[] ACCEPTED_EXTENSIONS = { DEFAULT_EXTENSION, };
     private static final byte[] GIF_HEADER_SIGNATURE = { 71, 73, 70 };
-    private final static int EXTENSION_CODE = 0x21;
-    private final static int IMAGE_SEPARATOR = 0x2C;
-    private final static int GRAPHIC_CONTROL_EXTENSION = (EXTENSION_CODE << 8) | 0xf9;
-    private final static int COMMENT_EXTENSION = 0xfe;
-    private final static int PLAIN_TEXT_EXTENSION = 0x01;
-    private final static int XMP_EXTENSION = 0xff;
-    private final static int TERMINATOR_BYTE = 0x3b;
-    private final static int APPLICATION_EXTENSION_LABEL = 0xff;
-    private final static int XMP_COMPLETE_CODE = (EXTENSION_CODE << 8)
+    private static final int EXTENSION_CODE = 0x21;
+    private static final int IMAGE_SEPARATOR = 0x2C;
+    private static final int GRAPHIC_CONTROL_EXTENSION = (EXTENSION_CODE << 8) | 0xf9;
+    private static final int COMMENT_EXTENSION = 0xfe;
+    private static final int PLAIN_TEXT_EXTENSION = 0x01;
+    private static final int XMP_EXTENSION = 0xff;
+    private static final int TERMINATOR_BYTE = 0x3b;
+    private static final int APPLICATION_EXTENSION_LABEL = 0xff;
+    private static final int XMP_COMPLETE_CODE = (EXTENSION_CODE << 8)
             | XMP_EXTENSION;
-    private static final int LOCAL_COLOR_TABLE_FLAG_MASK = 1 << 7;
-    private static final int INTERLACE_FLAG_MASK = 1 << 6;
-    private static final int SORT_FLAG_MASK = 1 << 5;
-    private static final byte[] XMP_APPLICATION_ID_AND_AUTH_CODE = {
+    private final static int LOCAL_COLOR_TABLE_FLAG_MASK = 1 << 7;
+    private final static int INTERLACE_FLAG_MASK = 1 << 6;
+    private final static int SORT_FLAG_MASK = 1 << 5;
+    private final static byte[] XMP_APPLICATION_ID_AND_AUTH_CODE = {
         0x58, // X
         0x4D, // M
         0x50, // P