Summary
Remove the deprecated TransitionEvent(EventType, StyleableProperty, Duration)
constructor.
Problem
The constructor was deprecated for removal in JFX 24 and scheduled for removal in 25.
Solution
Remove the constructor.
Specification
--- a/modules/javafx.graphics/src/main/java/javafx/css/TransitionEvent.java
+++ b/modules/javafx.graphics/src/main/java/javafx/css/TransitionEvent.java
@@ -95,22 +95,6 @@
*/
private final Duration elapsedTime;
- /**
- * Creates a new instance of the {@code TransitionEvent} class.
- *
- * @param eventType the event type
- * @param property the {@code StyleableProperty} that is targeted by the transition
- * @param elapsedTime the time that has elapsed since the transition has entered its active period
- * @throws NullPointerException if {@code eventType}, {@code property} or {@code elapsedTime} is {@code null}
- * @deprecated use {@link #TransitionEvent(EventType, StyleableProperty, String, Duration)} instead
- */
- @Deprecated(since = "24", forRemoval = true)
- public TransitionEvent(EventType<? extends Event> eventType,
- StyleableProperty<?> property,
- Duration elapsedTime) {
- this(eventType, property, property.getCssMetaData().getProperty(), elapsedTime);
- }
-
/**
* Creates a new instance of the {@code TransitionEvent} class.
*
- csr of
-
JDK-8353617 Remove deprecated TransitionEvent constructor
-
- Resolved
-