[fixes #825] Add toString for ReleaseInfo

This commit is contained in:
Sibo Van Gool 2022-01-21 20:10:22 +01:00
parent bc3ed5d80f
commit ce9fbb914a

View File

@ -59,4 +59,10 @@ public class ReleaseInfo {
if (this.obj == null) return null; if (this.obj == null) return null;
return this.obj.get("html_url").toString(); return this.obj.get("html_url").toString();
} }
@Override
public String toString() {
return String.format("releaseTag = %s ; releaseNotes = %s ; releaseURL = %s", getReleaseTag(), getReleaseNotes(),
getReleaseURL());
}
} }