diff options
Diffstat (limited to 'platform/projectModel-api/src/com/intellij/openapi/components/State.java')
-rw-r--r-- | platform/projectModel-api/src/com/intellij/openapi/components/State.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/projectModel-api/src/com/intellij/openapi/components/State.java b/platform/projectModel-api/src/com/intellij/openapi/components/State.java index ec6b97055a48..38af50e27196 100644 --- a/platform/projectModel-api/src/com/intellij/openapi/components/State.java +++ b/platform/projectModel-api/src/com/intellij/openapi/components/State.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,14 +23,15 @@ import java.lang.annotation.RetentionPolicy; public @interface State { String name(); + @Deprecated /** - * {@link RoamingType#GLOBAL} will be ignored, use only {@link RoamingType#DISABLED} or {@link RoamingType#PER_PLATFORM} + * @deprecated Use {@link Storage#roamingType()} */ RoamingType roamingType() default RoamingType.PER_USER; Storage[] storages(); - Class<? extends StateStorageChooser> storageChooser() default StorageAnnotationsDefaultValues.NullStateStorageChooser.class; + Class<? extends StateStorageChooser> storageChooser() default StateStorageChooser.class; boolean reloadable() default true; -}
\ No newline at end of file +} |