Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Nov 26, 2024
1 parent 23ccc12 commit 1e333af
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public <H extends Hcl> H apply(Cursor scope, HclCoordinates coordinates, Object.
Space.Location loc = coordinates.getSpaceLocation();

//noinspection unchecked
H h = (H) new HclVisitor<Integer>() {
return (H) new HclVisitor<Integer>() {
@Override
public Hcl visitConfigFile(Hcl.ConfigFile configFile, Integer p) {
Hcl.ConfigFile c = (Hcl.ConfigFile) super.visitConfigFile(configFile, p);
Expand Down Expand Up @@ -167,8 +167,6 @@ public Hcl visitExpression(Expression expression, Integer p) {
return e;
}
}.visitNonNull(scope.getValue(), 0, scope.getParentOrThrow());

return h;
}

public static Builder builder(String code) {
Expand Down

0 comments on commit 1e333af

Please sign in to comment.