fix ignore set value when both type and value equal

This commit is contained in:
REAndroid 2023-03-16 19:50:30 -04:00
parent 387e0b26b9
commit 9a3fbb2b84

View File

@ -203,7 +203,7 @@ import java.util.Objects;
return null; return null;
} }
public void setValueAsString(String str){ public void setValueAsString(String str){
if(getValueType() != ValueType.STRING if(getValueType() == ValueType.STRING
&& Objects.equals(str, getValueAsString())){ && Objects.equals(str, getValueAsString())){
return; return;
} }