2727/**
2828 * Registry for {@link Plugin}s. Allows sophisticated typesafe access to implementations of interfaces extending {link
2929 * Plugin}.
30- *
30+ *
3131 * @param <T> the concrete {@link Plugin} interface
3232 * @param <S> the delimiter type
3333 * @author Oliver Gierke
@@ -100,7 +100,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
100100/**
101101 * Returns the first {@link Plugin} found for the given delimiter. Thus, further configured {@link Plugin}s are
102102 * ignored.
103- *
103+ *
104104 * @param delimiter
105105 * @return a plugin for the given delimiter or {@link Optional#empty()} if none found.
106106 */
@@ -109,7 +109,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
109109/**
110110 * Returns the first {@link Plugin} found for the given delimiter. Thus, further configured {@link Plugin}s are
111111 * ignored.
112- *
112+ *
113113 * @param delimiter
114114 * @return a {@link Plugin} for the given originating system or {@link Optional#empty()} if none found.
115115 * @throws IllegalArgumentException in case no {@link Plugin} for the given delimiter
@@ -119,7 +119,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
119119/**
120120 * Returns the first {@link Plugin} found for the given delimiter. Thus, further configured {@link Plugin}s are
121121 * ignored.
122- *
122+ *
123123 * @param delimiter
124124 * @param message a {@link Supplier} to produce an exception message in case no plugin is found.
125125 * @return a {@link Plugin} for the given originating system or {@link Optional#empty()} if none found.
@@ -129,7 +129,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
129129
130130/**
131131 * Returns all plugins for the given delimiter.
132- *
132+ *
133133 * @param delimiter
134134 * @return a list of plugins or an empty list if none found
135135 */
@@ -138,7 +138,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
138138/**
139139 * Retrieves a required plugin from the registry or throw the given exception if none can be found. If more than one
140140 * plugins are found the first one will be returned.
141- *
141+ *
142142 * @param <E> the exception type to be thrown in case no plugin can be found.
143143 * @param delimiter
144144 * @param ex a lazy {@link Supplier} to produce an exception in case no plugin can be found.
@@ -149,7 +149,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
149149
150150/**
151151 * Retrieves all plugins for the given delimiter or throws an exception if no plugin can be found.
152- *
152+ *
153153 * @param <E> the exception type to be thrown.
154154 * @param delimiter
155155 * @param ex a lazy {@link Supplier} to produce an exception in case no plugin can be found.
@@ -160,7 +160,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
160160
161161/**
162162 * Returns the first {@link Plugin} supporting the given delimiter or the given plugin if none can be found.
163- *
163+ *
164164 * @param delimiter
165165 * @param plugin
166166 * @return a single {@link Plugin} supporting the given delimiter or the given {@link Plugin} if none found
@@ -170,7 +170,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
170170/**
171171 * Returns the first {@link Plugin} supporting the given delimiter or the given lazily-provided plugin if none can be
172172 * found.
173- *
173+ *
174174 * @param delimiter can be {@literal null}.
175175 * @param defaultSupplier must not be {@literal null}.
176176 * @return a single {@link Plugin} supporting the given delimiter or the given lazily provided {@link Plugin} if none
@@ -180,7 +180,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
180180
181181/**
182182 * Returns all {@link Plugin}s supporting the given delimiter or the given plugins if none found.
183- *
183+ *
184184 * @param delimiter
185185 * @param plugins
186186 * @return all {@link Plugin}s supporting the given delimiter or the given {@link Plugin}s if none found
@@ -189,22 +189,22 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
189189
190190/**
191191 * Returns the number of registered plugins.
192- *
192+ *
193193 * @return the number of plugins in the registry
194194 */
195195int countPlugins ();
196196
197197/**
198198 * Returns whether the registry contains a given plugin.
199- *
199+ *
200200 * @param plugin
201201 * @return
202202 */
203203boolean contains (T plugin );
204204
205205/**
206206 * Returns whether the registry contains a {@link Plugin} matching the given delimiter.
207- *
207+ *
208208 * @param delimiter
209209 * @return
210210 */
@@ -213,7 +213,7 @@ public static <S, T extends Plugin<S>> PluginRegistry<T, S> of(List<? extends T>
213213/**
214214 * Returns all {@link Plugin}s contained in this registry. Will return an immutable {@link List} to prevent outside
215215 * modifications of the {@link PluginRegistry} content.
216- *
216+ *
217217 * @return
218218 */
219219List <T > getPlugins ();
0 commit comments