We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private T212Map<String,Object> convertDataLevel(Data data){ Map map = objectMapper .convertValue(data,Map.class); if(data.getDataFlag() != null && !data.getDataFlag().isEmpty()){ map.remove(Data.FLAG); String flag = convertDataFlag(data.getDataFlag()); map.put(Data.FLAG,flag); }
if(data.getCp() != null){ Map<String,Object> cpMap = convertDataLevel(data.getCp()); map.put(Data.CP,cpMap); } return T212Map.createCpDataLevel(map); }
以上源码中的map.remove(Data.FLAG);是多余的操作,导致map中输出的flag和cp错位了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
private T212Map<String,Object> convertDataLevel(Data data){
Map map = objectMapper
.convertValue(data,Map.class);
if(data.getDataFlag() != null &&
!data.getDataFlag().isEmpty()){
map.remove(Data.FLAG);
String flag = convertDataFlag(data.getDataFlag());
map.put(Data.FLAG,flag);
}
以上源码中的map.remove(Data.FLAG);是多余的操作,导致map中输出的flag和cp错位了。
The text was updated successfully, but these errors were encountered: