aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/font/JavaFontLoader.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-31 19:43:55 +0100
committerSven Gothel <[email protected]>2012-10-31 19:43:55 +0100
commitf92e5baaea9c15d655f19a3b8dc9101876991995 (patch)
tree8f08aee75c0fb76e53a7fc972d0a099a018bdedc /src/jogl/classes/jogamp/graph/font/JavaFontLoader.java
parent451faa16651a85bab92e11d12de48e4b195904ba (diff)
*FontLoader: Order fields in init-order, make private.
Diffstat (limited to 'src/jogl/classes/jogamp/graph/font/JavaFontLoader.java')
-rw-r--r--src/jogl/classes/jogamp/graph/font/JavaFontLoader.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/JavaFontLoader.java b/src/jogl/classes/jogamp/graph/font/JavaFontLoader.java
index a00e9579c..3736c5f13 100644
--- a/src/jogl/classes/jogamp/graph/font/JavaFontLoader.java
+++ b/src/jogl/classes/jogamp/graph/font/JavaFontLoader.java
@@ -41,7 +41,10 @@ import com.jogamp.graph.font.FontFactory;
public class JavaFontLoader implements FontSet {
- final static FontSet fontLoader = new JavaFontLoader();
+ // FIXME: Add cache size to limit memory usage
+ private static final IntObjectHashMap fontMap = new IntObjectHashMap();
+
+ private static final FontSet fontLoader = new JavaFontLoader();
public static FontSet get() {
return fontLoader;
@@ -74,9 +77,6 @@ public class JavaFontLoader implements FontSet {
}
}
- // FIXME: Add cache size to limit memory usage
- static final IntObjectHashMap fontMap = new IntObjectHashMap();
-
static boolean is(int bits, int bit) {
return 0 != ( bits & bit ) ;
}