mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Addressed easy codacy issues
This commit is contained in:
parent
ea3a89b52d
commit
1e10b58cff
@ -99,12 +99,6 @@ public class KdTree<T extends KdTree.XYZPoint> implements Iterable<T> {
|
|||||||
static final int Y_AXIS = 1;
|
static final int Y_AXIS = 1;
|
||||||
static final int Z_AXIS = 2;
|
static final int Z_AXIS = 2;
|
||||||
|
|
||||||
/**
|
|
||||||
* Default constructor.
|
|
||||||
*/
|
|
||||||
public KdTree() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public KdNode getRoot() {
|
public KdNode getRoot() {
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
@ -571,9 +565,7 @@ public class KdTree<T extends KdTree.XYZPoint> implements Iterable<T> {
|
|||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder builder = new StringBuilder(200);
|
StringBuilder builder = new StringBuilder(200);
|
||||||
builder.append("dimensions=").append(DIMENSIONS);
|
builder.append("dimensions=").append(DIMENSIONS).append(" depth=").append(depth).append(" point=").append(getPoint().toString());
|
||||||
builder.append(" depth=").append(depth);
|
|
||||||
builder.append(" point=").append(getPoint().toString());
|
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user