Parcourir la source

make spotbugs happy

Eren Yilmaz il y a 6 ans
Parent
commit
e8d2fa3d70
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/animation/AnimationController.java

+ 1 - 1
src/animation/AnimationController.java

@@ -83,8 +83,8 @@ public class AnimationController {
      */
     public void setNextAction( Action a )
     {
-        next = a;
         synchronized( this ) {
+            next = a;
             notify();
         }
     }