# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1721841555 -7200 # Node ID c2164decf7f179dc292a8e79282f8b03ad6684d0 # Parent 2ec67179aa3200ff80bb0ad729558a06ed8ff2ec Add final to classes diff --git a/tests/ConnectionTests.java b/tests/ConnectionTests.java --- a/tests/ConnectionTests.java +++ b/tests/ConnectionTests.java @@ -19,7 +19,7 @@ import java.util.Properties; import java.util.SimpleTimeZone; import java.util.TimeZone; -public class ConnectionTests { +public final class ConnectionTests { private final String url; private final Properties connProps; diff --git a/tests/JDBC_API_Tester.java b/tests/JDBC_API_Tester.java --- a/tests/JDBC_API_Tester.java +++ b/tests/JDBC_API_Tester.java @@ -39,7 +39,7 @@ import org.monetdb.jdbc.types.URL; * @author Martin van Dinther * @version 0.3 */ -final public class JDBC_API_Tester { +public final class JDBC_API_Tester { private StringBuilder sb; // buffer to collect the test output private Connection con; // main connection shared by all tests final private int dbmsMajorVersion; diff --git a/tests/SQLcopyinto.java b/tests/SQLcopyinto.java --- a/tests/SQLcopyinto.java +++ b/tests/SQLcopyinto.java @@ -24,7 +24,7 @@ import org.monetdb.mcl.io.BufferedMCLWri * @author Fabian Groffen, Martin van Dinther */ -public class SQLcopyinto { +public final class SQLcopyinto { final private static String tablenm = "exampleSQLCopyInto"; public static void main(String[] args) throws Exception { diff --git a/tests/TLSTester.java b/tests/TLSTester.java --- a/tests/TLSTester.java +++ b/tests/TLSTester.java @@ -25,7 +25,7 @@ import java.util.HashMap; import java.util.HashSet; import java.util.Properties; -public class TLSTester { +public final class TLSTester { final HashMap<String, File> fileCache = new HashMap<>(); int verbose = 0; String serverHost = null; diff --git a/tests/UrlTester.java b/tests/UrlTester.java --- a/tests/UrlTester.java +++ b/tests/UrlTester.java @@ -16,7 +16,7 @@ import java.io.*; import java.net.URISyntaxException; import java.util.ArrayList; -public class UrlTester { +public final class UrlTester { final String filename; final int verbose; final BufferedReader reader;