# HG changeset patch # User Jaroslav Tulach # Date 1435304549 -7200 # Node ID cf1503da2456b46677cbf0ed286614d660126a1b # Parent 154e3094ca6340e0e1b771b8e38fcdb6a57c378f We certainly don't want instances of this class: hiding constructor. diff -r 154e3094ca63 -r cf1503da2456 truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/CompilerAsserts.java --- 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