| 130 | } |
| 131 | |
| 132 | static public class Memo implements Util.ExceptionlessAutoClosable { |
| 133 | Map<Box, Boolean> state = new LinkedHashMap<>(); |
| 134 | |
| 135 | @Override |
| 136 | public void close() { |
| 137 | for (Map.Entry<Box, Boolean> e : state.entrySet()) { |
| 138 | e.getKey().disconnected = e.getValue(); |
| 139 | } |
| 140 | |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | public static Memo freezeGraph(Box documentRoot) { |
| 145 |
nothing calls this directly
no outgoing calls
no test coverage detected