diff --git a/src/main/resources/semver.mustache b/src/main/resources/semver.mustache index e94a518..947505d 100644 --- a/src/main/resources/semver.mustache +++ b/src/main/resources/semver.mustache @@ -50,7 +50,7 @@ public final class {{className}} { * * @throws UnsupportedOperationException If the constructor is called. */ - private GeneratedVersion() + private {{className}}() throws UnsupportedOperationException { throw new UnsupportedOperationException("Illegal constructor call."); }