Last active
May 20, 2020 22:31
-
-
Save RodrigoPinho/5c6750431d7100dc1d7310ed03375f54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class UtilityClassWithLombok { | |
private static final int CONSTANT = 5; | |
private UtilityClassWithLombok() { | |
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); | |
} | |
public static int addSomething(int in) { | |
return in + CONSTANT; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment