mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 06:31:22 +00:00
GUACAMOLE-422: Correct toString() for GuacamoleProtocolVersion (must be manually implemented after migrating away from enum). Add unit test for verifying toString().
This commit is contained in:
@@ -202,5 +202,10 @@ public class GuacamoleProtocolVersion {
|
||||
&& this.patch == otherVersion.getPatch();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "VERSION_" + getMajor() + "_" + getMinor() + "_" + getPatch();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user