Changeset: c2164decf7f1 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/c2164decf7f1
Modified Files:
        tests/ConnectionTests.java
        tests/JDBC_API_Tester.java
        tests/SQLcopyinto.java
        tests/TLSTester.java
        tests/UrlTester.java
Branch: default
Log Message:

Add final to classes


diffs (60 lines):

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;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to