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 29d4451  Fix IDE nags
29d4451 is described below

commit 29d445185fc77a295231293ebe48f0b06f084e2b
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to