Improved templates.

This commit is contained in:
Erik C. Thauvin 2019-04-01 19:31:31 -07:00
parent eb907c33fa
commit 77a1b1cf14
3 changed files with 71 additions and 5 deletions

View file

@ -27,15 +27,12 @@ public final class {{className}} {
* The full semantic version string.
*/
public final static String VERSION = Integer.toString(MAJOR) + SEPARATOR + Integer.toString(MINOR) + SEPARATOR
+ Integer.toString(PATCH) + preReleaseWithPrefix() + buildMetaWithPrefix();
+ Integer.toString(PATCH) + preReleaseWithPrefix() + buildMetaWithPrefix();
/**
* Disables the default constructor.
*
* @throws UnsupportedOperationException If the constructor is called.
*/
private {{className}}()
throws UnsupportedOperationException {
private {{className}}() {
throw new UnsupportedOperationException("Illegal constructor call.");
}