From 6897164462f233266851c7e50a7b475de51eb73f Mon Sep 17 00:00:00 2001 From: Aaron Hurst Date: Tue, 29 Nov 2022 00:30:12 +0000 Subject: [PATCH] Upgrade Summit AST dependency to release version 2.0.0. Update code to remove reference to deleted MODULO operator. Change-Id: I39d9f7adc0407aafa9af31d3b2253c6c37c735b1 --- pmd-apex/pom.xml | 2 +- .../net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.kt | 1 - pom.xml | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pmd-apex/pom.xml b/pmd-apex/pom.xml index 29b40d29b5..9deffa4766 100644 --- a/pmd-apex/pom.xml +++ b/pmd-apex/pom.xml @@ -120,7 +120,7 @@ com.google.summit summit-ast - 1.1.0-SNAPSHOT + 2.0.0 diff --git a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.kt b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.kt index 589d76543d..70f2be4177 100644 --- a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.kt +++ b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.kt @@ -302,7 +302,6 @@ class ApexTreeBuilder(val sourceCode: String, val parserOptions: ApexParserOptio BinaryExpression.Operator.SUBTRACTION, BinaryExpression.Operator.MULTIPLICATION, BinaryExpression.Operator.DIVISION, - BinaryExpression.Operator.MODULO, BinaryExpression.Operator.LEFT_SHIFT, BinaryExpression.Operator.RIGHT_SHIFT_SIGNED, BinaryExpression.Operator.RIGHT_SHIFT_UNSIGNED, diff --git a/pom.xml b/pom.xml index 97a4acd474..cf40b4589e 100644 --- a/pom.xml +++ b/pom.xml @@ -959,6 +959,11 @@ true + + sonatype-nexus-google + Sonatype Nexus - Google + https://google.oss.sonatype.org/content/repositories/releases + sonatype-nexus-snapshots-google Sonatype Nexus Snapshots - Google