mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-23 10:35:18 +01:00
Add private constructor to SongodaCoreConstants to hide implicit one
The utility class only has static members - Nothing to gain from instantiating it other than confusion
This commit is contained in:
parent
59f4adfc6f
commit
75b497a163
@ -6,6 +6,10 @@ package com.songoda.core;
|
|||||||
* that needs to be inside the final jar (might get lost when this lib is shaded into other projects).
|
* that needs to be inside the final jar (might get lost when this lib is shaded into other projects).
|
||||||
*/
|
*/
|
||||||
public class SongodaCoreConstants {
|
public class SongodaCoreConstants {
|
||||||
|
private SongodaCoreConstants() {
|
||||||
|
throw new IllegalStateException("Utility class");
|
||||||
|
}
|
||||||
|
|
||||||
public static String getCoreVersion() {
|
public static String getCoreVersion() {
|
||||||
return "UNKNOWN_VESION";
|
return "UNKNOWN_VESION";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user