summaryrefslogtreecommitdiff
path: root/trunk/java
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-03-04 09:15:07 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-03-04 09:15:07 +0000
commit01d3db5b92732389d54dd4154e5c907f107b1037 (patch)
tree8a3668a45c02249d4d0b1b8ce49929465a75ee53 /trunk/java
parent88b8504b8b2daa0bd5f80412be6d9f234e6563cf (diff)
Methods of a final class are automatically final
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@498 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/java')
-rw-r--r--trunk/java/org/libjpegturbo/turbojpeg/TJ.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/trunk/java/org/libjpegturbo/turbojpeg/TJ.java b/trunk/java/org/libjpegturbo/turbojpeg/TJ.java
index 1719106..9963cdd 100644
--- a/trunk/java/org/libjpegturbo/turbojpeg/TJ.java
+++ b/trunk/java/org/libjpegturbo/turbojpeg/TJ.java
@@ -58,7 +58,7 @@ final public class TJ {
3, 3, 4, 4, 4, 4, 1
};
- final public static int getPixelSize(int pixelFormat) throws Exception {
+ public static int getPixelSize(int pixelFormat) throws Exception {
if(pixelFormat < 0 || pixelFormat >= NUMPFOPT)
throw new Exception("Invalid pixel format");
return pixelSize[pixelFormat];
@@ -68,7 +68,7 @@ final public class TJ {
0, 16, 0, 16, 24, 8, 0
};
- final public static int getRedShift(int pixelFormat) throws Exception {
+ public static int getRedShift(int pixelFormat) throws Exception {
if(pixelFormat < 0 || pixelFormat >= NUMPFOPT)
throw new Exception("Invalid pixel format");
return redShift[pixelFormat];
@@ -78,7 +78,7 @@ final public class TJ {
8, 8, 8, 8, 16, 16, 0
};
- final public static int getGreenShift(int pixelFormat) throws Exception {
+ public static int getGreenShift(int pixelFormat) throws Exception {
if(pixelFormat < 0 || pixelFormat >= NUMPFOPT)
throw new Exception("Invalid pixel format");
return greenShift[pixelFormat];
@@ -103,14 +103,14 @@ final public class TJ {
FORCESSE3 = 128,
FASTUPSAMPLE = 256;
- public native final static int bufSize(int width, int height)
+ public native static int bufSize(int width, int height)
throws Exception;
- public native final static int bufSizeYUV(int width, int height,
+ public native static int bufSizeYUV(int width, int height,
int subsamp)
throws Exception;
- public native final static ScalingFactor[] getScalingFactors()
+ public native static ScalingFactor[] getScalingFactors()
throws Exception;
static {