Commit 950fe55b authored by Sander Bollen's avatar Sander Bollen
Browse files

small extra com ment

parent 4c0e7a8b
...@@ -76,9 +76,9 @@ package object utils { ...@@ -76,9 +76,9 @@ package object utils {
def isSemanticVersion(version: String): Boolean = getSemanticVersion(version).isDefined def isSemanticVersion(version: String): Boolean = getSemanticVersion(version).isDefined
case class SemanticVersion(major: Int, minor: Int, patch: Int, build: Option[String] = None) case class SemanticVersion(major: Int, minor: Int, patch: Int, build: Option[String] = None)
/** /**
* Check whether a version string is a semantic version. * Check whether a version string is a semantic version.
* Note: the toInt calls here are only safe because the regex only matches numbers
* *
* @param version version string * @param version version string
* @return SemanticVersion case class * @return SemanticVersion case class
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment