Skip to content

Commit ff348f4

Browse files
committed
Merge branch '2.6.x' into 2.7.x
Closes gh-32017
2 parents 9e1a69e + 4a807eb commit ff348f4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformationTests.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,6 +37,8 @@
3737
import org.codehaus.groovy.ast.stmt.ExpressionStatement;
3838
import org.codehaus.groovy.control.SourceUnit;
3939
import org.codehaus.groovy.control.io.ReaderSource;
40+
import org.codehaus.groovy.syntax.Token;
41+
import org.codehaus.groovy.syntax.Types;
4042
import org.codehaus.groovy.transform.ASTTransformation;
4143
import org.junit.jupiter.api.BeforeEach;
4244
import org.junit.jupiter.api.Test;
@@ -195,8 +197,8 @@ void transformationOfAnnotationOnLocalVariable() {
195197
ClassNode classNode = new ClassNode("Test", 0, new ClassNode(Object.class));
196198
this.moduleNode.addClass(classNode);
197199

198-
DeclarationExpression declarationExpression = new DeclarationExpression(new VariableExpression("test"), null,
199-
new ConstantExpression("test"));
200+
DeclarationExpression declarationExpression = new DeclarationExpression(new VariableExpression("test"),
201+
new Token(Types.ASSIGN, "=", 1, 1), new ConstantExpression("test"));
200202
declarationExpression.addAnnotation(this.grabAnnotation);
201203

202204
BlockStatement code = new BlockStatement(Arrays.asList(new ExpressionStatement(declarationExpression)),

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ bom {
411411
]
412412
}
413413
}
414-
library("Groovy", "3.0.11") {
414+
library("Groovy", "3.0.12") {
415415
group("org.codehaus.groovy") {
416416
imports = [
417417
"groovy-bom"

0 commit comments

Comments
 (0)