From de1df8779a42f848aa1bdb515284565ce31f20e4 Mon Sep 17 00:00:00 2001 From: Dirk Lemmermann Date: Wed, 20 Sep 2023 17:14:54 +0200 Subject: [PATCH] Fixed the name used for the ANY event type of CalendarEvent. There seem to be additional checks in newer JavaFX versions that notice that the previous name "ANY" was already used by one of the super type events. --- .../src/main/java/com/calendarfx/model/CalendarEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CalendarFXView/src/main/java/com/calendarfx/model/CalendarEvent.java b/CalendarFXView/src/main/java/com/calendarfx/model/CalendarEvent.java index ca86cc6a..cb230d9b 100644 --- a/CalendarFXView/src/main/java/com/calendarfx/model/CalendarEvent.java +++ b/CalendarFXView/src/main/java/com/calendarfx/model/CalendarEvent.java @@ -48,7 +48,7 @@ public class CalendarEvent extends Event { /** * The supertype of all event types in this event class. */ - public static final EventType ANY = new EventType<>(Event.ANY, "ANY"); + public static final EventType ANY = new EventType<>(Event.ANY, "CALENDAR"); /** * An event type used to inform the application that "something" inside the