cleanup
This commit is contained in:
@@ -9,13 +9,11 @@ import org.lucares.pdb.api.Tags;
|
||||
public class Doc {
|
||||
private final Tags tags;
|
||||
private final byte[] path;
|
||||
//private final Path path;
|
||||
|
||||
public Doc(final Tags tags, final Path path) {
|
||||
super();
|
||||
this.tags = tags;
|
||||
this.path = path.toString().getBytes(StandardCharsets.UTF_8);
|
||||
//this.path=path;
|
||||
}
|
||||
|
||||
public Tags getTags() {
|
||||
@@ -24,12 +22,10 @@ public class Doc {
|
||||
|
||||
public Path getPath() {
|
||||
return Paths.get(new String(path, StandardCharsets.UTF_8));
|
||||
//return path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Doc [tags=" + tags + ", path=" + getPath() + "]";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user