Browse Source

Remove deprecated constructor

async
Decebal Suiu 6 years ago
parent
commit
9ae845b56d
  1. 11
      pf4j/src/main/java/org/pf4j/DefaultPluginManager.java

11
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);
}

Loading…
Cancel
Save