mirror of
https://github.com/SKCraft/Launcher.git
synced 2025-01-22 21:41:20 +01:00
Ignore unknown properties when deserializing LatestVersionInfo
This commit is contained in:
parent
daa955fac6
commit
3fdfb3cf70
@ -6,11 +6,13 @@
|
|||||||
|
|
||||||
package com.skcraft.launcher.selfupdate;
|
package com.skcraft.launcher.selfupdate;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
public class LatestVersionInfo {
|
public class LatestVersionInfo {
|
||||||
|
|
||||||
private String version;
|
private String version;
|
||||||
|
Loading…
Reference in New Issue
Block a user