Explorar o código

make spotbugs happy

Eren Yilmaz %!s(int64=6) %!d(string=hai) anos
pai
achega
e8d2fa3d70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
         }
     }