Removed unnecessary throw in disabled constructor.
This commit is contained in:
parent
1f8388ca4f
commit
e35276ddc8
1 changed files with 1 additions and 4 deletions
|
@ -139,11 +139,8 @@ public final class Constants {
|
|||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
*
|
||||
* @throws UnsupportedOperationException if the constructor is called.
|
||||
*/
|
||||
private Constants()
|
||||
throws UnsupportedOperationException {
|
||||
private Constants() {
|
||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue