Browse Source

make spotbugs happy

Eren Yilmaz 6 năm trước cách đây
mục cha
commit
e8d2fa3d70
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
         }
     }