You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/01/30 14:57:08 UTC
[GitHub] Ring-k commented on a change in pull request #37: Fix sanor kyy
Ring-k commented on a change in pull request #37: Fix sanor kyy
URL: https://github.com/apache/incubator-iotdb/pull/37#discussion_r252290555
##########
File path: jdbc/src/main/java/org/apache/iotdb/jdbc/Utils.java
##########
@@ -39,6 +39,13 @@
*/
public class Utils {
+ /**
+ * Private constructor of Utils Class.
+ */
+ private Utils(){
+ throw new IllegalAccessError("Utility class");
Review comment:
This is a utility class, which means it provides methods and attributes directly. No class should be able to construct an instance of it, even in a method of itself.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services