aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/packrect
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 23:16:10 +0200
committerSven Gothel <[email protected]>2014-07-08 23:16:10 +0200
commit947bf9c45261013d81cc7199cb71c89b88b18fdf (patch)
treec639b4ae6fd454bf33c278ffd07b435aa3c4fa5b /src/jogl/classes/com/jogamp/opengl/util/packrect
parent27115b5f050e881f959a33c04e7d3988bfe676bf (diff)
Findbugs: Use static fields where possible
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/packrect')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/packrect/RectanglePacker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/packrect/RectanglePacker.java b/src/jogl/classes/com/jogamp/opengl/util/packrect/RectanglePacker.java
index 65f59ba53..794ae4493 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/packrect/RectanglePacker.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/packrect/RectanglePacker.java
@@ -51,8 +51,8 @@ public class RectanglePacker {
private final BackingStoreManager manager;
private Object backingStore;
private LevelSet levels;
- private final float EXPANSION_FACTOR = 0.5f;
- private final float SHRINK_FACTOR = 0.3f;
+ private static final float EXPANSION_FACTOR = 0.5f;
+ private static final float SHRINK_FACTOR = 0.3f;
private final int initialWidth;
private final int initialHeight;