You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For issues or feature requests related to the code in this repository file a Github issue.
For general technical questions, post a question on Google Groups.
Whats your runtime?
Dozer version: 6.5.2_
OS version: macOs 12.5_
JDK version: 1.8_
Whats the problem?
Steps to reproduce:
public static void main(String[] args){
A model = new A();
LinkedHashMap<String, Object> map = new LinkedHashMap<>();
map.put("msgExtra",new LinkedHashMap<>());
model.setTemplateExtendInfo(map);
Mapper defaultMapper = DozerBeanMapperBuilder.buildDefault();
B resultModel = defaultMapper.map(model, B.class);
System.out.println(JSON.toJSONString(resultModel));
}
@Data
public static class A{
private Map<String, Object> templateExtendInfo = new HashMap<>();
}
@Data
public static class B{
private Map<String, Object> templateExtendInfo = new HashMap<>();
}
run the main method , I find the resultModel.templateExtendInfo recursive value ,templateExtendInfo VALUES: {msgExtra={}} --> {msgExtra=(this Map)}
Observed Results:
What happened? This could be a description, log output, etc.
Expected Results:
What did you expect to happen?
the resultModel.templateExtendInfo has a empty map value
The text was updated successfully, but these errors were encountered:
Are you in the right place?
Whats your runtime?
Whats the problem?
Steps to reproduce:
run the main method , I find the resultModel.templateExtendInfo recursive value ,templateExtendInfo VALUES: {msgExtra={}} --> {msgExtra=(this Map)}
Observed Results:
What happened? This could be a description, log output, etc.
Expected Results:
What did you expect to happen?
the resultModel.templateExtendInfo has a empty map value
The text was updated successfully, but these errors were encountered: