Sfoglia il codice sorgente

make spotbugs happy

Eren Yilmaz 6 anni fa
parent
commit
e8d2fa3d70
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
         }
     }