1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-28 09:35:19 +00:00

Format code.

This commit is contained in:
2017-08-04 14:29:24 -07:00
parent 0058ec9c71
commit c541eaab97
6 changed files with 152 additions and 152 deletions

View File

@@ -92,13 +92,13 @@ public class BinaryNode extends TreeNode {
@Override
public <T> T reduce(Reducer<T> reducer) {
if(Thread.currentThread().isInterrupted())
if (Thread.currentThread().isInterrupted())
return null;
T leftReduce = left.reduce(reducer);
T rightReduce = right.reduce(reducer);
if (leftReduce == null || rightReduce == null) return null;
T a = reducer.reduceNode(this, leftReduce, rightReduce);
if(Thread.currentThread().isInterrupted())
if (Thread.currentThread().isInterrupted())
return null;
return a;
}