From 9ae845b56d686ea4d4d6db4faa9d0231bfd318a6 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 1 Apr 2019 23:10:29 +0300 Subject: [PATCH] Remove deprecated constructor --- pf4j/src/main/java/org/pf4j/DefaultPluginManager.java | 11 ----------- 1 file changed, 11 deletions(-) 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); }