Skip to content

Commit

Permalink
[ARCHETYPE-686] Bump org.apache.velocity:velocity-engine-core from 2.…
Browse files Browse the repository at this point in the history
…3 to 2.4 (#222)

* Bump org.apache.velocity:velocity-engine-core from 2.3 to 2.4

Bumps org.apache.velocity:velocity-engine-core from 2.3 to 2.4.

---
updated-dependencies:
- dependency-name: org.apache.velocity:velocity-engine-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>
  • Loading branch information
dependabot[bot] and slawekjaranowski authored Oct 6, 2024
1 parent 68b0365 commit 870e58f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import org.apache.velocity.runtime.RuntimeServices;
import org.apache.velocity.runtime.RuntimeSingleton;
import org.apache.velocity.runtime.parser.ParseException;
import org.apache.velocity.runtime.parser.node.ASTNegateNode;
import org.apache.velocity.runtime.parser.node.ASTReference;
import org.apache.velocity.runtime.parser.node.SimpleNode;
import org.apache.velocity.runtime.visitor.BaseVisitor;
Expand Down Expand Up @@ -346,6 +347,11 @@ public Object visit(ASTReference node, Object data) {
referencedPropertyNames.add(node.getRootString());
return super.visit(node, data);
}

@Override
public Object visit(ASTNegateNode astNegateNode, Object data) {
return astNegateNode.childrenAccept(this, data);
}
},
velocityRuntime);
} catch (ParseException e) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>2.3</version>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
Expand Down

0 comments on commit 870e58f

Please sign in to comment.