You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/12/03 13:52:56 UTC
(tomcat) branch 9.0.x updated: Fix IDE warning
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new a8abb3fe57 Fix IDE warning
a8abb3fe57 is described below
commit a8abb3fe576618e811c3f3d4280b178c6ee0a785
Author: Mark Thomas <ma...@apache.org>
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 b1de1e6a75..99170c977a 100644
--- a/java/org/apache/catalina/session/DataSourceStore.java
+++ b/java/org/apache/catalina/session/DataSourceStore.java
@@ -353,7 +353,7 @@ public class DataSourceStore extends JDBCStore {
} 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org