diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/ModuleGraphWriter.java b/jetty-start/src/main/java/org/eclipse/jetty/start/ModuleGraphWriter.java index 2d207727acd..b3d30473636 100644 --- a/jetty-start/src/main/java/org/eclipse/jetty/start/ModuleGraphWriter.java +++ b/jetty-start/src/main/java/org/eclipse/jetty/start/ModuleGraphWriter.java @@ -103,7 +103,7 @@ public class ModuleGraphWriter out.println(" ssize = \"20,40\""); out.println(" ];"); - List enabled = modules.resolveEnabled(); + List enabled = modules.getEnabled(); // Module Nodes writeModules(out,modules,enabled); diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/Modules.java b/jetty-start/src/main/java/org/eclipse/jetty/start/Modules.java index 4d95fc1bc53..81883b356b6 100644 --- a/jetty-start/src/main/java/org/eclipse/jetty/start/Modules.java +++ b/jetty-start/src/main/java/org/eclipse/jetty/start/Modules.java @@ -386,7 +386,7 @@ public class Modules implements Iterable ordered.addAll(modules.values()); Collections.sort(ordered,new Module.DepthComparator()); - List active = resolveEnabled(); + List active = getEnabled(); for (Module module : ordered) { @@ -729,6 +729,7 @@ public class Modules implements Iterable * Resolve the execution order of the enabled modules, and all dependent modules, based on depth first transitive reduction. * * @return the list of active modules (plus dependent modules), in execution order. + * @deprecated use {@link #getEnabled()} and {@link #assertModulesValid(Collection)} instead. */ @Deprecated public List resolveEnabled()