mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RootIndex: cleanup, field type refined
This commit is contained in:
@@ -181,10 +181,10 @@ public class RootIndex {
|
||||
|
||||
private static class Edge {
|
||||
Module myKey;
|
||||
OrderEntry myOrderEntry; // Order entry from myKey -> the node containing the edge
|
||||
ModuleOrderEntry myOrderEntry; // Order entry from myKey -> the node containing the edge
|
||||
boolean myRecursive; // Whether this edge should be descended into during graph walk
|
||||
|
||||
public Edge(Module key, OrderEntry orderEntry, boolean recursive) {
|
||||
public Edge(Module key, ModuleOrderEntry orderEntry, boolean recursive) {
|
||||
myKey = key;
|
||||
myOrderEntry = orderEntry;
|
||||
myRecursive = recursive;
|
||||
@@ -271,7 +271,7 @@ public class RootIndex {
|
||||
handlersMap.put(depModule, handlers);
|
||||
}
|
||||
boolean shouldRecurse = en.shouldRecurse(moduleOrderEntry, handlers);
|
||||
node.myEdges.add(new Edge(module, orderEntry, shouldRecurse));
|
||||
node.myEdges.add(new Edge(module, moduleOrderEntry, shouldRecurse));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user