forked from j62/ctbrec
1
0
Fork 0

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 {
private String name;
private String tagName;
private String htmlUrl;
private String tag_name; // NOSONAR - name pattern is needed by moshi
private String html_url; // NOSONAR - name pattern is needed by moshi
public String getName() {
return name;
@ -419,23 +419,23 @@ public class CamrecApplication extends Application {
}
public String getTagName() {
return tagName;
return tag_name;
}
public void setTagName(String tagName) {
this.tagName = tagName;
this.tag_name = tagName;
}
public String getHtmlUrl() {
return htmlUrl;
return html_url;
}
public void setHtmlUrl(String htmlUrl) {
this.htmlUrl = htmlUrl;
this.html_url = htmlUrl;
}
public Version getVersion() {
return Version.of(tagName);
return Version.of(tag_name);
}
}
}