We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39914b3 commit c7b2536Copy full SHA for c7b2536
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/utils/Version.kt
@@ -29,7 +29,7 @@ data class Version(
29
(another.patch.isEmpty() || patch.isNotEmpty() && patch.toInt() >= another.patch.toInt())
30
}
31
32
- fun hasNumericOrEmptyPatch(): Boolean = patch.toIntOrNull() != null
+ fun hasNumericOrEmptyPatch(): Boolean = patch.isEmpty() || patch.toIntOrNull() != null
33
34
35
fun String.parseVersion(): Version? {
0 commit comments