Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-05-13 17:20:34 -0400
committerTom Schindl2014-05-13 17:20:34 -0400
commit2b5f1ee907465bba84b9c1defc235dc41d31841c (patch)
treea091fc678074b54bf2c6ced6fd0e37cbcc71774f
parentb433ed04e526fba58e4960e1fb24487190ea5e81 (diff)
downloadorg.eclipse.efxclipse-2b5f1ee907465bba84b9c1defc235dc41d31841c.tar.gz
org.eclipse.efxclipse-2b5f1ee907465bba84b9c1defc235dc41d31841c.tar.xz
org.eclipse.efxclipse-2b5f1ee907465bba84b9c1defc235dc41d31841c.zip
Bug 434803 - Upgrade to jdt.annotation 2.0
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
index 26216e5df..8626c72ef 100755
--- a/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
+++ b/bundles/runtime/org.eclipse.fx.ui.animation/src/org/eclipse/fx/ui/animation/pagetransition/animation/FlipAnimation.java
@@ -27,6 +27,7 @@ import javafx.scene.transform.Rotate;
import javafx.util.Duration;
import org.eclipse.fx.ui.animation.pagetransition.CenterSwitchAnimation;
+import org.eclipse.jdt.annotation.Nullable;
/**
* Flip between 2 nodes
@@ -80,7 +81,7 @@ public class FlipAnimation extends CenterSwitchAnimation {
}
@Override
- protected Animation createAndPrepareAnimation(Node area, Node newNode) {
+ protected Animation createAndPrepareAnimation(Node area, @Nullable Node newNode) {
ScaleTransition zoomOut = new ScaleTransition(Duration.millis(300));
zoomOut.setToX(0.7);
zoomOut.setToY(0.7);

Back to the top