Skip to content

Commit 6020822

Browse files
committed
correction to RxJavaPlugins's getDefaultSchedulers() return type as reported in javadocs
1 parent 28a9a99 commit 6020822

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

rxjava-core/src/main/java/rx/plugins/RxJavaPlugins.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@
1818
import java.util.concurrent.atomic.AtomicReference;
1919

2020
/**
21-
* Registry for plugin implementations that allows global override and handles the retrieval of correct implementation based on order of precedence:
21+
* Registry for plugin implementations that allows global override and handles the retrieval of correct
22+
* implementation based on order of precedence:
2223
* <ol>
2324
* <li>plugin registered globally via {@code register} methods in this class</li>
24-
* <li>plugin registered and retrieved using {@link java.lang.System#getProperty(String)} (see get methods for property names)</li>
25+
* <li>plugin registered and retrieved using {@link java.lang.System#getProperty(String)} (see get methods for
26+
* property names)</li>
2527
* <li>default implementation</li>
2628
* </ol>
29+
*
2730
* @see <a href="https://github.com/Netflix/RxJava/wiki/Plugins">RxJava Wiki: Plugins</a>
2831
*/
2932
public class RxJavaPlugins {
@@ -171,7 +174,7 @@ private static Object getPluginImplementationViaProperty(Class<?> pluginClass) {
171174
* the property {@code rxjava.plugin.RxJavaDefaultSchedulers.implementation} with the full classname to
172175
* load.
173176
*
174-
* @return {@link RxJavaErrorHandler} implementation to use
177+
* @return the {@link RxJavaDefaultSchedulers} implementation in use
175178
*/
176179
public RxJavaDefaultSchedulers getDefaultSchedulers() {
177180
if (schedulerOverrides.get() == null) {

0 commit comments

Comments
 (0)