Changeset: 92a1b08a1018 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=92a1b08a1018
Modified Files:
        tests/Test_PSmetadata.java
Branch: default
Log Message:

Remove not used: private static String isInstance() code.


diffs (23 lines):

diff --git a/tests/Test_PSmetadata.java b/tests/Test_PSmetadata.java
--- a/tests/Test_PSmetadata.java
+++ b/tests/Test_PSmetadata.java
@@ -79,19 +79,4 @@ public class Test_PSmetadata {
                con.rollback();
                con.close();
        }
-
-       private static String isInstance(Object obj, String type) {
-               if (obj == null)
-                       return("(null)");
-               try {
-                       Class c = Class.forName(type);
-                       if (c.isInstance(obj)) {
-                               return(obj.getClass().getName() + " is an 
instance of " + type);
-                       } else {
-                               return(obj.getClass().getName() + " is NOT an 
instance of " + type);
-                       }
-               } catch (ClassNotFoundException e) {
-                       return("No such class: " + type);
-               }
-       }
 }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to