From 277f66398bd91ea8b7874d9274c702bb6c3b6088 Mon Sep 17 00:00:00 2001 From: mkpaz Date: Sat, 27 May 2023 21:35:59 +0400 Subject: [PATCH] Remove @Preview annotation --- base/src/main/java/atlantafx/base/Preview.java | 15 --------------- .../java/atlantafx/base/theme/CupertinoDark.java | 3 --- .../java/atlantafx/base/theme/CupertinoLight.java | 3 --- .../main/java/atlantafx/base/theme/Dracula.java | 3 --- 4 files changed, 24 deletions(-) delete mode 100644 base/src/main/java/atlantafx/base/Preview.java diff --git a/base/src/main/java/atlantafx/base/Preview.java b/base/src/main/java/atlantafx/base/Preview.java deleted file mode 100644 index 6379acb..0000000 --- a/base/src/main/java/atlantafx/base/Preview.java +++ /dev/null @@ -1,15 +0,0 @@ -package atlantafx.base; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Signifies that a public API or feature is not stable yet and can be changed - * or removed in future releases. - */ -@Retention(RetentionPolicy.CLASS) -@Target({ElementType.METHOD, ElementType.TYPE}) -public @interface Preview { -} diff --git a/base/src/main/java/atlantafx/base/theme/CupertinoDark.java b/base/src/main/java/atlantafx/base/theme/CupertinoDark.java index 44f9c0d..4f4f1b2 100644 --- a/base/src/main/java/atlantafx/base/theme/CupertinoDark.java +++ b/base/src/main/java/atlantafx/base/theme/CupertinoDark.java @@ -2,12 +2,9 @@ package atlantafx.base.theme; -import atlantafx.base.Preview; - /** * A theme based on IOS color palette. */ -@Preview public class CupertinoDark implements Theme { public CupertinoDark() { diff --git a/base/src/main/java/atlantafx/base/theme/CupertinoLight.java b/base/src/main/java/atlantafx/base/theme/CupertinoLight.java index f0e9d11..cb4c23c 100644 --- a/base/src/main/java/atlantafx/base/theme/CupertinoLight.java +++ b/base/src/main/java/atlantafx/base/theme/CupertinoLight.java @@ -2,12 +2,9 @@ package atlantafx.base.theme; -import atlantafx.base.Preview; - /** * A theme based on IOS color palette. */ -@Preview public class CupertinoLight implements Theme { public CupertinoLight() { diff --git a/base/src/main/java/atlantafx/base/theme/Dracula.java b/base/src/main/java/atlantafx/base/theme/Dracula.java index 4aaae42..641c493 100644 --- a/base/src/main/java/atlantafx/base/theme/Dracula.java +++ b/base/src/main/java/atlantafx/base/theme/Dracula.java @@ -2,12 +2,9 @@ package atlantafx.base.theme; -import atlantafx.base.Preview; - /** * A theme based on Dracula color palette. */ -@Preview public class Dracula implements Theme { public Dracula() {