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:09 UTC

[db-jdo] 11/18: JDO-823: Sections of code should not be commented out

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 dbdf29a237b505af2f8d4837fad483685178367d
Author: Michael Bouschen <Mi...@akquinet.de>
AuthorDate: Sat Jan 7 21:46:13 2023 +0100

    JDO-823: Sections of code should not be commented out
---
 exectck/src/main/java/org/apache/jdo/exectck/PropertyUtils.java | 4 ----
 exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java        | 2 --
 2 files changed, 6 deletions(-)

diff --git a/exectck/src/main/java/org/apache/jdo/exectck/PropertyUtils.java b/exectck/src/main/java/org/apache/jdo/exectck/PropertyUtils.java
index 6831b302..dcb63aa0 100644
--- a/exectck/src/main/java/org/apache/jdo/exectck/PropertyUtils.java
+++ b/exectck/src/main/java/org/apache/jdo/exectck/PropertyUtils.java
@@ -47,12 +47,10 @@ public class PropertyUtils {
    * @param list HashSet to contain String items
    */
   public static void string2List(String names, List<String> list) {
-    //        System.out.println("names are " + names);
     String[] items = names.split("[ \t\n]");
     for (String s : items) {
       list.add(s);
     }
-    //        System.out.println("List names are " + list.toString());
   }
 
   /**
@@ -72,12 +70,10 @@ public class PropertyUtils {
 
       Properties props = new Properties();
       FileInputStream fis = null;
-      //            System.out.println("confName is " + confName);
       try {
         fis = new FileInputStream(confName);
         props.load(fis);
         mapping = props.getProperty("jdo.tck.mapping");
-        //                System.out.println("Next mapping is " + mapping);
       } catch (IOException e) {
         e.printStackTrace();
         try {
diff --git a/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java b/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
index d8e773ac..ae403c88 100644
--- a/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
+++ b/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
@@ -355,8 +355,6 @@ public class RunTCK extends AbstractTCKMojo {
           cfgPropsString.add(
               "-Djdo.tck.mapping.companyfactory="
                   + getTrimmedPropertyValue(props, "jdo.tck.mapping.companyfactory"));
-          //                    innerPropsString.append("-Djdo.tck.description=\"" +
-          //                            props.getProperty("jdo.tck.description") + "\"");
           cfgPropsString.add(
               "-Djdo.tck.requiredOptions="
                   + getTrimmedPropertyValue(props, "jdo.tck.requiredOptions"));