This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 7a8e3ec3bd Fix IDE warning
7a8e3ec3bd is described below
commit 7a8e3ec3bdb75560dbebaf4740a002f516acaf9c
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Dec 3 13:52:24 2024 +0000
Fix IDE warning
---
java/org/apache/catalina/session/DataSourceStore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/session/DataSourceStore.java
b/java/org/apache/catalina/session/DataSourceStore.java
index 7711ed453c..3484227e8f 100644
--- a/java/org/apache/catalina/session/DataSourceStore.java
+++ b/java/org/apache/catalina/session/DataSourceStore.java
@@ -632,7 +632,7 @@ public class DataSourceStore extends StoreBase {
} else {
try {
// This should be the normal way to lookup for the global
in the global context (no comp/env)
- Service service = Container.getService((Container)
context);
+ Service service = Container.getService(context);
if (service != null) {
Server server = service.getServer();
if (server != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]