Skip to content

Commit 9e61d0d

Browse files
committed
GH-110 - Remove deprecations and fix Javadoc warnings.
1 parent 8679573 commit 9e61d0d

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

core/src/main/java/org/springframework/plugin/core/SimplePluginRegistry.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,28 +74,6 @@ public static <S, T extends Plugin<S>> SimplePluginRegistry<T, S> of(List<? exte
7474
return new SimplePluginRegistry<>(plugins);
7575
}
7676

77-
/**
78-
* Creates a new {@link SimplePluginRegistry}.
79-
*
80-
* @return
81-
* @deprecated use {@link #empty()} instead.
82-
*/
83-
@Deprecated
84-
public static <S, T extends Plugin<S>> SimplePluginRegistry<T, S> create() {
85-
return of(Collections.<T> emptyList());
86-
}
87-
88-
/**
89-
* Creates a new {@link SimplePluginRegistry} with the given {@link Plugin} s.
90-
*
91-
* @return
92-
* @deprecated use {@link #of(List)} instead.
93-
*/
94-
@Deprecated
95-
public static <S, T extends Plugin<S>> SimplePluginRegistry<T, S> create(List<? extends T> plugins) {
96-
return new SimplePluginRegistry<>(plugins);
97-
}
98-
9977
/* (non-Javadoc)
10078
* @see org.springframework.plugin.core.PluginRegistrySupport#getPlugins()
10179
*/

core/src/main/java/org/springframework/plugin/core/support/PluginRegistryFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import org.springframework.plugin.core.PluginRegistry;
3838

3939
/**
40-
* {@link FactoryBean} to create {@link PluginRegistry} instances. Wraps a {@link BeanListFactoryBean}.
40+
* {@link FactoryBean} to create {@link PluginRegistry} instances.
4141
*
4242
* @author Oliver Gierke
4343
*/

0 commit comments

Comments
 (0)