From 7cfff4049daa231b53826870f47b72fb8d42b40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 28 Dec 2023 12:01:45 +0100 Subject: [PATCH] Polish "Remove unnecessary final modifier" See gh-31916 --- .../context/annotation/ConfigurationClassAndBFPPTests.java | 2 +- .../test/annotation/SystemProfileValueSource.java | 2 +- .../test/context/cache/ContextCacheTestUtils.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassAndBFPPTests.java b/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassAndBFPPTests.java index 0140212d891..90c1185048f 100644 --- a/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassAndBFPPTests.java +++ b/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassAndBFPPTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-test/src/main/java/org/springframework/test/annotation/SystemProfileValueSource.java b/spring-test/src/main/java/org/springframework/test/annotation/SystemProfileValueSource.java index 7d1f7c11f98..db72a2f69e4 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/SystemProfileValueSource.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/SystemProfileValueSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-test/src/test/java/org/springframework/test/context/cache/ContextCacheTestUtils.java b/spring-test/src/test/java/org/springframework/test/context/cache/ContextCacheTestUtils.java index 4148168c6f4..f6ebc8e5573 100644 --- a/spring-test/src/test/java/org/springframework/test/context/cache/ContextCacheTestUtils.java +++ b/spring-test/src/test/java/org/springframework/test/context/cache/ContextCacheTestUtils.java @@ -56,7 +56,7 @@ public class ContextCacheTestUtils { * @param expectedMissCount the expected miss count */ public static void assertContextCacheStatistics(String usageScenario, int expectedSize, int expectedHitCount, - int expectedMissCount) { + int expectedMissCount) { assertContextCacheStatistics(DefaultCacheAwareContextLoaderDelegate.defaultContextCache, usageScenario, expectedSize, expectedHitCount, expectedMissCount); } @@ -71,7 +71,7 @@ public class ContextCacheTestUtils { * @param expectedMissCount the expected miss count */ public static void assertContextCacheStatistics(ContextCache contextCache, String usageScenario, - int expectedSize, int expectedHitCount, int expectedMissCount) { + int expectedSize, int expectedHitCount, int expectedMissCount) { String context = (StringUtils.hasText(usageScenario) ? " (" + usageScenario + ")" : "");