Mercurial > hg > monetdb-java
diff src/main/java/nl/cwi/monetdb/mcl/MCLException.java @ 297:bb273e9c7e09
Add "final" keyword to classes, method arguments and local variables where possible.
In Mapisocket.java replaced 4 log methods with 1 method with 2 extra parameters for more flexibility and less code.
Resolved javadoc warning for MonetSavepoint.java
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 08 Aug 2019 20:19:45 +0200 (2019-08-08) |
parents | d4baf8a4b43a |
children | 54137aeb1f92 |
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/mcl/MCLException.java +++ b/src/main/java/nl/cwi/monetdb/mcl/MCLException.java @@ -12,10 +12,7 @@ package nl.cwi.monetdb.mcl; * A general purpose Exception class for MCL related problems. This * class should be used if no more precise Exception class exists. */ -public class MCLException extends Exception { - /** - * - */ +public final class MCLException extends Exception { private static final long serialVersionUID = 1L; public MCLException(String e) {