Skip to content

Commit

Permalink
Implement Version.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Mar 4, 2016
1 parent bd87746 commit e660311
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/me/nallar/modpatcher/ModPatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,11 @@ public int compareTo(Version that) {
return 0;
}

@Override
public String toString() {
return version;
}

@Override
public int hashCode() {
return version.hashCode();
Expand Down

0 comments on commit e660311

Please sign in to comment.