diff --git a/src/main/scala/com/sothr/imagetools/util/Version.scala b/src/main/scala/com/sothr/imagetools/util/Version.scala index 6e67e6f..24f0ee1 100644 --- a/src/main/scala/com/sothr/imagetools/util/Version.scala +++ b/src/main/scala/com/sothr/imagetools/util/Version.scala @@ -21,7 +21,7 @@ class Version(val versionString:String) { * 3 = this.revision > that.revision * 4 = this.buildType != that.buildType */ - def difference(that:Version):Integer = { + def compare(that:Version):Integer = { if (this.hashCode == that.hashCode) return 0 if (this.major > that.major) { return 1