diff options
author | Sven Gothel <[email protected]> | 2014-07-08 10:33:44 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-08 10:33:44 +0200 |
commit | db25b1ba6575210741e485838d0882a1590125e6 (patch) | |
tree | df32d588d1edcaff2606694776f1299a70acd621 /src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java | |
parent | b5910f18f0b82a8a1f6f6252dc19971d5e487f39 (diff) |
Findbugs.synchronization: Fix double-check w/o volatile; Remove redundant synchronized from setter
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java b/src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java index de99ae70d..746b642c2 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java +++ b/src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java @@ -106,7 +106,7 @@ public class FPSAnimator extends AnimatorBase { * @param fps * @throws GLException if the animator has already been started */ - public final synchronized void setFPS(final int fps) throws GLException { + public final void setFPS(final int fps) throws GLException { if ( isStarted() ) { throw new GLException("Animator already started."); } |