Mercurial > hg > monetdb-java
changeset 917:c2164decf7f1
Add final to classes
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Wed, 24 Jul 2024 19:19:15 +0200 (8 months ago) |
parents | 2ec67179aa32 |
children | 2543e24eb79a |
files | tests/ConnectionTests.java tests/JDBC_API_Tester.java tests/SQLcopyinto.java tests/TLSTester.java tests/UrlTester.java |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;
--- 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 {
--- 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;