Skip to content

Commit

Permalink
Shave off one more line
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Jun 30, 2024
1 parent b4d2489 commit be6f740
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/org/lflang/generator/GeneratorUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ public static <T> Iterable<T> findAll(Resource resource, Class<T> nodeType) {
public static Set<Resource> getResources(Iterable<Reactor> reactors) {
Set<Resource> visited = new LinkedHashSet<>();
for (Reactor r : reactors) {
Resource resource = r.eResource();
if (!visited.contains(resource)) {
if (!visited.contains(r.eResource())) {
addInheritedResources(r, visited);
}
}
Expand Down

0 comments on commit be6f740

Please sign in to comment.