if (branch0 != null) {
if (branch0.getControlPoint() != null) {
PipeControlPoint branchPoint = getBranchPoint();
+ if (branchPoint == null)
+ return false;
PipeControlPoint pcp = branch0.getControlPoint();
// TODO, relying that the other direction is connected.
boolean next = branch0.getPrevious() == this; // this --> branch0