File tree 2 files changed +3
-2
lines changed
modules/javafx.graphics/src/main/java
com/sun/javafx/application/preferences
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 51
51
* When the operating system signals that a preference has changed, the mappings are updated
52
52
* by calling the {@link #update(Map)} method.
53
53
*/
54
- public class PlatformPreferences extends AbstractMap <String , Object > implements Platform .Preferences {
54
+ public final class PlatformPreferences extends AbstractMap <String , Object > implements Platform .Preferences {
55
55
56
56
/**
57
57
* Contains mappings from platform-specific keys to their types. This information is
Original file line number Diff line number Diff line change @@ -583,7 +583,8 @@ public static Preferences getPreferences() {
583
583
*
584
584
* @since 22
585
585
*/
586
- public interface Preferences extends ObservableMap <String , Object > {
586
+ public sealed interface Preferences extends ObservableMap <String , Object >
587
+ permits com .sun .javafx .application .preferences .PlatformPreferences {
587
588
588
589
/**
589
590
* Specifies whether applications should minimize the amount of non-essential animations,
You can’t perform that action at this time.
0 commit comments