Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix regex character filter in VersionParts

  • Loading branch information...
commit 28b12465dfc10fa0cdcf9cd6ebbb2f292ac4a460 1 parent e69df1a
Mark Harrah harrah authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  launch/src/test/scala/VersionParts.scala
2  launch/src/test/scala/VersionParts.scala
View
@@ -57,7 +57,7 @@ object VersionParts extends Properties("VersionParts")
private[this] def normS(s: String): String =
{
val filtered = s filter validChar
- if(s.isEmpty) "q" else s
+ if(filtered.isEmpty) "q" else filtered
}
// strip whitespace and characters not supported by Pattern
Please sign in to comment.
Something went wrong with that request. Please try again.