mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-09 14:22:40 +00:00
fix[module]: 修改XmlProtocolDefinition因为字段被标注为final导致无法修改值的问题
This commit is contained in:
@@ -20,13 +20,13 @@ import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
|
||||
public class XmlProtocolDefinition {
|
||||
|
||||
@JacksonXmlProperty(isAttribute = true, localName = "id")
|
||||
private final short id = -1;
|
||||
private short id = -1;
|
||||
|
||||
@JacksonXmlProperty(isAttribute = true, localName = "location")
|
||||
private String location;
|
||||
|
||||
@JacksonXmlProperty(isAttribute = true, localName = "enhance")
|
||||
private final boolean enhance = true;
|
||||
private boolean enhance = true;
|
||||
|
||||
|
||||
public short getId() {
|
||||
|
||||
Reference in New Issue
Block a user