diff tests/Test_PSmetadata.java @ 172:60063c67f9e7 embedded

Merged with default
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Tue, 19 Sep 2017 13:49:34 +0200 (2017-09-19)
parents 551093abca52 92a1b08a1018
children 5b13ccaba741
line wrap: on
line diff
--- a/tests/Test_PSmetadata.java
+++ b/tests/Test_PSmetadata.java
@@ -77,19 +77,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);
-		}
-	}
 }