Fix: Changed variable names broke the update check

This commit is contained in:
0xboobface 2020-01-03 14:11:19 +01:00
parent 808810b6d6
commit 84428f8aac
1 changed files with 7 additions and 7 deletions

View File

@ -407,8 +407,8 @@ public class CamrecApplication extends Application {
static class Release { static class Release {
private String name; private String name;
private String tagName; private String tag_name; // NOSONAR - name pattern is needed by moshi
private String htmlUrl; private String html_url; // NOSONAR - name pattern is needed by moshi
public String getName() { public String getName() {
return name; return name;
@ -419,23 +419,23 @@ public class CamrecApplication extends Application {
} }
public String getTagName() { public String getTagName() {
return tagName; return tag_name;
} }
public void setTagName(String tagName) { public void setTagName(String tagName) {
this.tagName = tagName; this.tag_name = tagName;
} }
public String getHtmlUrl() { public String getHtmlUrl() {
return htmlUrl; return html_url;
} }
public void setHtmlUrl(String htmlUrl) { public void setHtmlUrl(String htmlUrl) {
this.htmlUrl = htmlUrl; this.html_url = htmlUrl;
} }
public Version getVersion() { public Version getVersion() {
return Version.of(tagName); return Version.of(tag_name);
} }
} }
} }