Browse Source

changed from difference to compare

master
Drew Short 11 years ago
parent
commit
a4dcb4a4ad
  1. 2
      src/main/scala/com/sothr/imagetools/util/Version.scala

2
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

Loading…
Cancel
Save