Skip to content

Commit

Permalink
Merge pull request #28988 from aloubyansky/npe-devmode
Browse files Browse the repository at this point in the history
Prevent NPE in IDEDevModeMain
  • Loading branch information
geoand authored Nov 2, 2022
2 parents 17796c9 + 3c76a10 commit a5bedfc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public static List<ResolvedDependency> getReloadableModules(ApplicationModel app
final Map<ArtifactKey, WorkspaceDependencies> modules = new HashMap<>();
StringBuilder nonReloadable = null;
for (ResolvedDependency d : appModel.getDependencies()) {
if (!d.isJar()) {
continue;
}
if (d.isReloadable()) {
modules.put(d.getKey(), new WorkspaceDependencies(d));
} else if (d.isWorkspaceModule()) {
Expand Down

0 comments on commit a5bedfc

Please sign in to comment.