More comprehensive IPath javadocs

This commit is contained in:
Brady
2018-10-08 23:29:16 -05:00
parent 6a4a8ab2d9
commit 875f01c358
4 changed files with 47 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ public abstract class AbstractNodeCostSearch implements IPathFinder {
this.cancelRequested = false;
try {
Optional<IPath> path = calculate0(timeout);
path.ifPresent(IPath::postprocess);
path.ifPresent(IPath::postProcess);
isFinished = true;
return path;
} finally {

View File

@@ -150,7 +150,7 @@ class Path implements IPath {
}
@Override
public void postprocess() {
public void postProcess() {
if (verified) {
throw new IllegalStateException();
}