Removed unnecessary throw in disabled constructor.

This commit is contained in:
Erik C. Thauvin 2019-04-01 15:22:08 -07:00
parent 1f8388ca4f
commit e35276ddc8

View file

@ -139,11 +139,8 @@ public final class Constants {
/** /**
* Disables the default constructor. * Disables the default constructor.
*
* @throws UnsupportedOperationException if the constructor is called.
*/ */
private Constants() private Constants() {
throws UnsupportedOperationException {
throw new UnsupportedOperationException("Illegal constructor call."); throw new UnsupportedOperationException("Illegal constructor call.");
} }
} }