mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Remove unused <ContentNode>.getFileIdColumn() method
This commit is contained in:
parent
dc047d4798
commit
48154da58b
@ -97,14 +97,6 @@ abstract class AbstractContentNode<T extends Content> extends AbstractNode imple
|
||||
public byte[] read(long offset, long len) throws TskException {
|
||||
return content.read(offset, len);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the location of the file ID / Metadata address on the columns on
|
||||
* the directory table.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
abstract public int getFileIDColumn();
|
||||
|
||||
/**
|
||||
* Returns the content of this node.
|
||||
@ -238,6 +230,5 @@ abstract class AbstractContentNode<T extends Content> extends AbstractNode imple
|
||||
public List<String> visit(VolumeSystem vs) {
|
||||
return vs.getParent().accept(this);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -65,14 +65,6 @@ public interface ContentNode {
|
||||
*/
|
||||
public byte[] read(long offset, long len) throws TskException;
|
||||
|
||||
/**
|
||||
* Returns the location of the file ID / Metadata address on the columns on
|
||||
* the directory table.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public int getFileIDColumn();
|
||||
|
||||
/**
|
||||
* Returns the content of this node.
|
||||
*
|
||||
|
@ -100,11 +100,6 @@ public class DirectoryNode extends AbstractFsContentNode<Directory> {
|
||||
return objs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T accept(ContentNodeVisitor<T> v) {
|
||||
return v.visit(this);
|
||||
|
@ -94,12 +94,7 @@ public class FileNode extends AbstractFsContentNode<File> {
|
||||
});
|
||||
return objs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return 1; // change this later when it's defined
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public <T> T accept(ContentNodeVisitor<T> v) {
|
||||
return v.visit(this);
|
||||
|
@ -79,11 +79,6 @@ public class ImageNode extends AbstractContentNode<Image> {
|
||||
return objs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cookie getCookie(Class clazz) {
|
||||
Children ch = getChildren();
|
||||
|
@ -90,11 +90,6 @@ public class VolumeNode extends AbstractContentNode<Volume> {
|
||||
return objs;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Right click action for volume node
|
||||
*
|
||||
|
@ -205,11 +205,6 @@ public class DataResultFilterNode extends FilterNode implements ContentNode {
|
||||
return ((ContentNode) currentNode).read(offset, len);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return ((ContentNode) currentNode).getFileIDColumn();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Content getContent() {
|
||||
return ((ContentNode) currentNode).getContent();
|
||||
|
@ -111,11 +111,6 @@ public class DataResultFilterNode extends FilterNode implements ContentNode {
|
||||
return ((ContentNode) currentNode).read(offset, len);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return ((ContentNode) currentNode).getFileIDColumn();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Content getContent() {
|
||||
return ((ContentNode) currentNode).getContent();
|
||||
|
@ -90,11 +90,6 @@ class SearchNode extends AbstractNode implements ContentNode {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFileIDColumn() {
|
||||
return -1; // change this later when needed
|
||||
}
|
||||
|
||||
@Override
|
||||
public Content getContent() {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user