aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 23:15:33 +0200
committerSven Gothel <[email protected]>2014-07-08 23:15:33 +0200
commit27115b5f050e881f959a33c04e7d3988bfe676bf (patch)
tree94668f339d3de88be355a20bd541c1aa4bb7403d /src/jogl/classes/jogamp/opengl/util
parenta2b75f52db38be223261cd378a4bc330cc2d3ede (diff)
Findbugs: Use inner static class where possible
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java b/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
index f73de75c5..e3e43b30c 100644
--- a/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
+++ b/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
@@ -373,7 +373,7 @@ public class JPEGDecoder {
}
/** The JPEG encoded components */
- class ComponentIn {
+ static class ComponentIn {
final int h, v;
/** index to frame.qtt[] */
final int qttIdx;
@@ -414,7 +414,7 @@ public class JPEGDecoder {
}
/** The decoded components */
- class ComponentOut {
+ static class ComponentOut {
private final ArrayList<byte[]> lines;
final float scaleX;
final float scaleY;
@@ -760,7 +760,7 @@ public class JPEGDecoder {
frame.mcusPerColumn = mcusPerColumn;
}
- private static class BinObjIdxed {
+ static class BinObjIdxed {
final BinObj children;
byte index;
BinObjIdxed() {
@@ -768,7 +768,7 @@ public class JPEGDecoder {
this.index = 0;
}
}
- private static class BinObj {
+ static class BinObj {
final boolean isValue;
final BinObj[] tree;
final byte b;
@@ -827,7 +827,7 @@ public class JPEGDecoder {
}
private final Output output = new Output();
- private static class Output {
+ static class Output {
private int blocksPerLine;
private int blocksPerColumn;
private int samplesPerLine;
@@ -1023,11 +1023,11 @@ public class JPEGDecoder {
}
}
- private static interface DecoderFunction {
+ static interface DecoderFunction {
void decode(ComponentIn component, int[] zz) throws IOException;
}
- private class Decoder {
+ class Decoder {
// private int precision;
// private int samplesPerLine;
// private int scanLines;