WW-5165 Upgrades Spring to version 5.3.20

This commit is contained in:
Lukasz Lenart
2022-05-17 07:37:39 +02:00
parent c98b60cd9a
commit 9f9edf4705
5 changed files with 17 additions and 14 deletions
+10
View File
@@ -242,6 +242,16 @@
<artifactId>spring-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -58,7 +58,7 @@ public class PlainResultTest extends StrutsInternalTestCase {
result.execute(invocation);
assertEquals("{ 'value': 'test' }", response.getContentAsString());
assertEquals("application/json", response.getContentType());
assertEquals("application/json;charset=UTF-8", response.getContentType());
}
public void testWriteContentTypeCsvWithCookie() throws Exception {
@@ -72,7 +72,7 @@ public class PlainResultTest extends StrutsInternalTestCase {
result.execute(invocation);
assertEquals("name;value\nline;1\nline;2", response.getContentAsString());
assertEquals("text/csv", response.getContentType());
assertEquals("text/csv;charset=UTF-8", response.getContentType());
}
public void testHeaders() throws Exception {
@@ -146,4 +146,4 @@ public class PlainResultTest extends StrutsInternalTestCase {
ActionContext.getContext().withServletResponse(response).withActionInvocation(invocation);
}
}
}
+1
View File
@@ -51,6 +51,7 @@
</dependencies>
<properties>
<spring.platformVersion>4.3.30.RELEASE</spring.platformVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
+2 -5
View File
@@ -130,11 +130,7 @@
<artifactId>spring-test</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
@@ -143,6 +139,7 @@
</dependencies>
<properties>
<spring.platformVersion>4.3.30.RELEASE</spring.platformVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
+1 -6
View File
@@ -115,7 +115,7 @@
<log4j2.version>2.17.2</log4j2.version>
<ognl.version>3.3.2</ognl.version>
<slf4j.version>1.7.32</slf4j.version>
<spring.platformVersion>4.3.30.RELEASE</spring.platformVersion>
<spring.platformVersion>5.3.20</spring.platformVersion>
<tiles.version>3.0.8</tiles.version>
<tiles-request.version>1.0.7</tiles-request.version>
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
@@ -988,11 +988,6 @@
<artifactId>spring-core</artifactId>
<version>${spring.platformVersion}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>${spring.platformVersion}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>