changeset 21980:cf1503da2456

We certainly don't want instances of this class: hiding constructor.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Fri, 26 Jun 2015 09:42:29 +0200
parents 154e3094ca63
children da5e694d2b3c
files truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerAsserts.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerAsserts.java	Thu Jun 25 14:31:06 2015 +0200
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerAsserts.java	Fri Jun 26 09:42:29 2015 +0200
@@ -31,7 +31,10 @@
  * identifies the code position of the assertion in the context of the current compilation.
  *
  */
-public class CompilerAsserts {
+public final class CompilerAsserts {
+    private CompilerAsserts() {
+    }
+
     /**
      * Assertion that this code position should never be reached during compilation. It can be used
      * for exceptional code paths or rare code paths that should never be included in a compilation