Use consistent version strings for 6.2

This commit is contained in:
Sam Brannen
2024-05-24 15:19:30 +02:00
parent b82b83c8f0
commit 7e3a4a12f8
6 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2024 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.
@@ -32,7 +32,7 @@ public class SampleReflection {
Class<?> springVersion = ClassUtils.forName("org.springframework.core.SpringVersion", null);
Method getVersion = ClassUtils.getMethod(springVersion, "getVersion");
String version = (String) getVersion.invoke(null);
logger.info("Spring version:" + version);
logger.info("Spring version: " + version);
}
catch (Exception exc) {
logger.error("reflection failed", exc);