Skip to content

Commit

Permalink
190: takeWhile instead of filter
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jun 5, 2020
1 parent a42c768 commit 7a93a6f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -59,7 +59,7 @@ public <T extends Object> T buildMethodToCallForEcoreReference(final EdeltaEcore
info.getEPackageName(),
info.getEClassifierName(),
info.getENamedElementName())
.filter(Objects::nonNull)
.takeWhile(Objects::nonNull)
.collect(toList())
);
}
Expand Down

0 comments on commit 7a93a6f

Please sign in to comment.