GH-110 - Remove deprecations and fix Javadoc warnings.

This commit is contained in:
Oliver Drotbohm
2025-02-14 17:20:30 +01:00
parent 8679573bd4
commit 9e61d0d225
2 changed files with 1 additions and 23 deletions

View File

@@ -74,28 +74,6 @@ class SimplePluginRegistry<T extends Plugin<S>, S> extends PluginRegistrySupport
return new SimplePluginRegistry<>(plugins);
}
/**
* Creates a new {@link SimplePluginRegistry}.
*
* @return
* @deprecated use {@link #empty()} instead.
*/
@Deprecated
public static <S, T extends Plugin<S>> SimplePluginRegistry<T, S> create() {
return of(Collections.<T> emptyList());
}
/**
* Creates a new {@link SimplePluginRegistry} with the given {@link Plugin} s.
*
* @return
* @deprecated use {@link #of(List)} instead.
*/
@Deprecated
public static <S, T extends Plugin<S>> SimplePluginRegistry<T, S> create(List<? extends T> plugins) {
return new SimplePluginRegistry<>(plugins);
}
/* (non-Javadoc)
* @see org.springframework.plugin.core.PluginRegistrySupport#getPlugins()
*/

View File

@@ -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
*/