diff --git a/core/src/main/java/org/springframework/plugin/core/SimplePluginRegistry.java b/core/src/main/java/org/springframework/plugin/core/SimplePluginRegistry.java index 440f4ab..3c38c4d 100644 --- a/core/src/main/java/org/springframework/plugin/core/SimplePluginRegistry.java +++ b/core/src/main/java/org/springframework/plugin/core/SimplePluginRegistry.java @@ -74,28 +74,6 @@ class SimplePluginRegistry, S> extends PluginRegistrySupport return new SimplePluginRegistry<>(plugins); } - /** - * Creates a new {@link SimplePluginRegistry}. - * - * @return - * @deprecated use {@link #empty()} instead. - */ - @Deprecated - public static > SimplePluginRegistry create() { - return of(Collections. emptyList()); - } - - /** - * Creates a new {@link SimplePluginRegistry} with the given {@link Plugin} s. - * - * @return - * @deprecated use {@link #of(List)} instead. - */ - @Deprecated - public static > SimplePluginRegistry create(List plugins) { - return new SimplePluginRegistry<>(plugins); - } - /* (non-Javadoc) * @see org.springframework.plugin.core.PluginRegistrySupport#getPlugins() */ diff --git a/core/src/main/java/org/springframework/plugin/core/support/PluginRegistryFactoryBean.java b/core/src/main/java/org/springframework/plugin/core/support/PluginRegistryFactoryBean.java index 7cbacb5..575a95c 100644 --- a/core/src/main/java/org/springframework/plugin/core/support/PluginRegistryFactoryBean.java +++ b/core/src/main/java/org/springframework/plugin/core/support/PluginRegistryFactoryBean.java @@ -37,7 +37,7 @@ import org.springframework.plugin.core.Plugin; import org.springframework.plugin.core.PluginRegistry; /** - * {@link FactoryBean} to create {@link PluginRegistry} instances. Wraps a {@link BeanListFactoryBean}. + * {@link FactoryBean} to create {@link PluginRegistry} instances. * * @author Oliver Gierke */