remove deprecated constructor and getter
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package org.lucares.performance.db;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
@@ -12,12 +11,6 @@ class PdbFile {
|
||||
|
||||
private final Path path;
|
||||
|
||||
@Deprecated
|
||||
public PdbFile(final File file, final Tags tags) {
|
||||
this.path = file.toPath();
|
||||
this.tags = tags;
|
||||
}
|
||||
|
||||
public PdbFile(final Path path, final Tags tags) {
|
||||
this.path = path;
|
||||
this.tags = tags;
|
||||
@@ -27,11 +20,6 @@ class PdbFile {
|
||||
return tags;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public File getFile() {
|
||||
return path.toFile();
|
||||
}
|
||||
|
||||
public Path getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user