You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2023/01/08 18:04:10 UTC

[db-jdo] 12/18: JDO-823: Nested blocks of code should not be left empty

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

mbo pushed a commit to branch JDO-823-2
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 35afca3e787af4a55a26f963660669f299d94b65
Author: Michael Bouschen <Mi...@akquinet.de>
AuthorDate: Sat Jan 7 21:52:21 2023 +0100

    JDO-823: Nested blocks of code should not be left empty
---
 api/src/main/java/javax/jdo/JDOHelper.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/src/main/java/javax/jdo/JDOHelper.java b/api/src/main/java/javax/jdo/JDOHelper.java
index 1689195e..1d205b20 100644
--- a/api/src/main/java/javax/jdo/JDOHelper.java
+++ b/api/src/main/java/javax/jdo/JDOHelper.java
@@ -1119,6 +1119,7 @@ public class JDOHelper implements Constants {
         try {
           in.close();
         } catch (IOException ioe) {
+          // this code block is deliberately left empty,
         }
       }
     }
@@ -1518,6 +1519,7 @@ public class JDOHelper implements Constants {
         try {
           in.close();
         } catch (IOException ioe) {
+          // this code block is deliberately left empty,
         }
     }
   }