Fixed javadoc.

This commit is contained in:
Erik C. Thauvin 2019-04-01 12:15:01 -07:00
parent 55d2e9e0d7
commit 1f8388ca4f
2 changed files with 2 additions and 15 deletions

View file

@ -34,7 +34,7 @@ object {{className}} {
val SEPARATOR = "{{separator}}" 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 @JvmField
val VERSION = "$MAJOR$SEPARATOR$MINOR$SEPARATOR$PATCH" + preReleaseWithPrefix() + buildMetaWithPrefix() val VERSION = "$MAJOR$SEPARATOR$MINOR$SEPARATOR$PATCH" + preReleaseWithPrefix() + buildMetaWithPrefix()

View file

@ -24,20 +24,7 @@ public final class {{className}} {
public final static String SEPARATOR = "{{separator}}"; public final static String SEPARATOR = "{{separator}}";
/** /**
* The full version string. * The full semantic version string.
* <p>
* Formatted as:
* <blockquote>
* <code>[MAJOR][SEPARATOR][MINOR][SEPARATOR][PATCH][[PRERELEASE_PREFIX][PRERELEASE]][[BUILDMETA_PREFIX][BUILDMETA]]</code>
* </blockquote>
* <p>
* For example:
* <ul>
* <li><code>1.0.0</code></li>
* <li><code>1.0.0-beta</code></li>
* <li><code>1.0.0+20160124144700</code></li>
* <li><code>1.0.0-alpha+001</code></li>
* </ul>
*/ */
public final static String VERSION = Integer.toString(MAJOR) + SEPARATOR + Integer.toString(MINOR) + SEPARATOR public final static String VERSION = Integer.toString(MAJOR) + SEPARATOR + Integer.toString(MINOR) + SEPARATOR
+ Integer.toString(PATCH) + preReleaseWithPrefix() + buildMetaWithPrefix(); + Integer.toString(PATCH) + preReleaseWithPrefix() + buildMetaWithPrefix();