From: Decebal Suiu Date: Mon, 1 Apr 2019 20:10:29 +0000 (+0300) Subject: Remove deprecated constructor X-Git-Tag: release-3.0.0~2^2~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ae845b56d686ea4d4d6db4faa9d0231bfd318a6;p=pf4j.git Remove deprecated constructor --- diff --git a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java index 7e90388..bed6c25 100644 --- a/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/org/pf4j/DefaultPluginManager.java @@ -19,7 +19,6 @@ import org.pf4j.util.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.File; import java.nio.file.Path; import java.nio.file.Paths; @@ -40,16 +39,6 @@ public class DefaultPluginManager extends AbstractPluginManager { super(); } - /** - * Use {@link DefaultPluginManager#DefaultPluginManager(Path)}. - * - * @param pluginsDir - */ - @Deprecated - public DefaultPluginManager(File pluginsDir) { - this(pluginsDir.toPath()); - } - public DefaultPluginManager(Path pluginsRoot) { super(pluginsRoot); }