(Operator toRemove)
| 1717 | } |
| 1718 | |
| 1719 | private void removeToLoad(Operator toRemove) throws IOException { |
| 1720 | List<Operator> successors = lp.getSuccessors(toRemove); |
| 1721 | List<Operator> succToRemove = new ArrayList<Operator>(); |
| 1722 | if (successors != null && successors.size() > 0) { |
| 1723 | succToRemove.addAll(successors); |
| 1724 | for (Operator succ : succToRemove) { |
| 1725 | lp.disconnect( toRemove, succ ); |
| 1726 | if (!(succ instanceof LOLoad)) { |
| 1727 | removeToLoad(succ); |
| 1728 | lp.remove(succ); |
| 1729 | } |
| 1730 | } |
| 1731 | } |
| 1732 | } |
| 1733 | |
| 1734 | /** |
| 1735 | * Accumulate the given statement to previous query statements and generate |
no test coverage detected