From 1f8388ca4f24d81b0506c8f22474c2ae5af18ea2 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 1 Apr 2019 12:15:01 -0700 Subject: [PATCH] Fixed javadoc. --- src/main/resources/semver-kt.mustache | 2 +- src/main/resources/semver.mustache | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/main/resources/semver-kt.mustache b/src/main/resources/semver-kt.mustache index d54afa8..bc6d68e 100644 --- a/src/main/resources/semver-kt.mustache +++ b/src/main/resources/semver-kt.mustache @@ -34,7 +34,7 @@ object {{className}} { val SEPARATOR = "{{separator}}" /** - * The full version string formatted as [MAJOR][SEPARATOR][MINOR][SEPARATOR][PATCH][[PRERELEASE_PREFIX][PRERELEASE]][[BUILDMETA_PREFIX][BUILDMETA]] + * The full semantic version string. */ @JvmField val VERSION = "$MAJOR$SEPARATOR$MINOR$SEPARATOR$PATCH" + preReleaseWithPrefix() + buildMetaWithPrefix() diff --git a/src/main/resources/semver.mustache b/src/main/resources/semver.mustache index 3baf2b1..48b9a87 100644 --- a/src/main/resources/semver.mustache +++ b/src/main/resources/semver.mustache @@ -24,20 +24,7 @@ public final class {{className}} { public final static String SEPARATOR = "{{separator}}"; /** - * The full version string. - *

- * Formatted as: - *

- * [MAJOR][SEPARATOR][MINOR][SEPARATOR][PATCH][[PRERELEASE_PREFIX][PRERELEASE]][[BUILDMETA_PREFIX][BUILDMETA]] - *
- *

- * For example: - *

+ * The full semantic version string. */ public final static String VERSION = Integer.toString(MAJOR) + SEPARATOR + Integer.toString(MINOR) + SEPARATOR + Integer.toString(PATCH) + preReleaseWithPrefix() + buildMetaWithPrefix();