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 2020/11/18 17:35:13 UTC

[tomcat] branch 8.5.x updated: Fix IDE nags

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 0da44ea  Fix IDE nags
0da44ea is described below

commit 0da44ea2ba78e56dbe23590c4f3ee4bfced66e4c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Nov 18 17:31:56 2020 +0000

    Fix IDE nags
---
 java/org/apache/catalina/session/DataSourceStore.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/org/apache/catalina/session/DataSourceStore.java b/java/org/apache/catalina/session/DataSourceStore.java
index 778f3ad..e493697 100644
--- a/java/org/apache/catalina/session/DataSourceStore.java
+++ b/java/org/apache/catalina/session/DataSourceStore.java
@@ -391,6 +391,7 @@ public class DataSourceStore extends JDBCStore {
      *
      * @exception SQLException if a database error occurs
      */
+    @Override
     protected Connection open() throws SQLException {
         if (dataSourceName != null && dataSource == null) {
             org.apache.catalina.Context context = getManager().getContext();
@@ -427,6 +428,7 @@ public class DataSourceStore extends JDBCStore {
      *
      * @param dbConnection The connection to be closed
      */
+    @Override
     protected void close(Connection dbConnection) {
 
         // Do nothing if the database connection is already closed


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org