@Override public boolean matches(ReportBase item) { Originator originator = item.getOriginator(); Hierarchy hierarchy = item.getHierarchy(); if(item instanceof ExecutionReport) { ExecutionReport er = (ExecutionReport)item; ExecutionType executionType = er.getExecutionType(); return originator.forPositions() && hierarchy.forPositions() && executionType != null && executionType.isFill() && isValid(er); } else { return false; } }
isFill = execType.isFill();
continue; if(execType == null || !execType.isFill()){ SLF4JLoggerProxy.debug(AveragePriceReportList.class, "Skipping {} because its execution type {} is not a fill", //$NON-NLS-1$