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/03/16 20:37:02 UTC

[db-jdo] branch main updated: JDO-823: Standard outputs should not be used to log anything

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 59f20aa1 JDO-823: Standard outputs should not be used to log anything
59f20aa1 is described below

commit 59f20aa10f1c2c040bfa582a21bd5f580131e0cb
Author: Michael Bouschen <Mi...@akquinet.de>
AuthorDate: Thu Mar 16 21:36:48 2023 +0100

    JDO-823: Standard outputs should not be used to log anything
    
    Method redefinition is not necessary - use super class implemention.
---
 api/src/main/java/javax/jdo/JDOException.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/api/src/main/java/javax/jdo/JDOException.java b/api/src/main/java/javax/jdo/JDOException.java
index 33ba2ad8..fa6a1372 100644
--- a/api/src/main/java/javax/jdo/JDOException.java
+++ b/api/src/main/java/javax/jdo/JDOException.java
@@ -243,15 +243,6 @@ public class JDOException extends java.lang.RuntimeException {
     return sb.toString();
   }
 
-  /**
-   * Prints this <code>JDOException</code> and its backtrace to the standard error output. Print
-   * nested Throwables' stack trace as well.
-   */
-  @Override
-  public void printStackTrace() {
-    printStackTrace(System.err);
-  }
-
   /**
    * Prints this <code>JDOException</code> and its backtrace to the specified print stream. Print
    * nested Throwables' stack trace as well.