Skip to content

Commit 1a65f4c

Browse files
author
Michael Strauß
committed
8353617: Remove deprecated TransitionEvent constructor
Reviewed-by: jhendrikx, kcr, angorya
1 parent 9ab2036 commit 1a65f4c

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

modules/javafx.graphics/src/main/java/javafx/css/TransitionEvent.java

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -95,22 +95,6 @@ public final class TransitionEvent extends Event {
9595
*/
9696
private final Duration elapsedTime;
9797

98-
/**
99-
* Creates a new instance of the {@code TransitionEvent} class.
100-
*
101-
* @param eventType the event type
102-
* @param property the {@code StyleableProperty} that is targeted by the transition
103-
* @param elapsedTime the time that has elapsed since the transition has entered its active period
104-
* @throws NullPointerException if {@code eventType}, {@code property} or {@code elapsedTime} is {@code null}
105-
* @deprecated use {@link #TransitionEvent(EventType, StyleableProperty, String, Duration)} instead
106-
*/
107-
@Deprecated(since = "24", forRemoval = true)
108-
public TransitionEvent(EventType<? extends Event> eventType,
109-
StyleableProperty<?> property,
110-
Duration elapsedTime) {
111-
this(eventType, property, property.getCssMetaData().getProperty(), elapsedTime);
112-
}
113-
11498
/**
11599
* Creates a new instance of the {@code TransitionEvent} class.
116100
*

0 commit comments

Comments
 (0)