Use Locale.ROOT consistently for toLower/toUpperCase
Closes gh-33708
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.springframework.jms.config;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
import jakarta.jms.Session;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
@@ -155,7 +157,7 @@ class JmsListenerContainerParser extends AbstractListenerContainerParser {
|
||||
}
|
||||
}
|
||||
else {
|
||||
properties.add("cacheLevelName", "CACHE_" + cache.toUpperCase());
|
||||
properties.add("cacheLevelName", "CACHE_" + cache.toUpperCase(Locale.ROOT));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user