BAEL-3682 remove setAutodetectAnnotations in favor of aligning with the article's code samples

This commit is contained in:
Yavuz Tas 2021-06-20 04:42:31 +02:00
parent 0de91a119e
commit 039416f0eb
2 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ public class ConverterExtensionsConfig {
final MarshallingHttpMessageConverter xmlConverter = new MarshallingHttpMessageConverter();
final XStreamMarshaller xstreamMarshaller = new XStreamMarshaller();
xstreamMarshaller.setAutodetectAnnotations(true);
xmlConverter.setMarshaller(xstreamMarshaller);
xmlConverter.setUnmarshaller(xstreamMarshaller);

View File

@ -28,7 +28,6 @@ public class WebConfig implements WebMvcConfigurer {
final MarshallingHttpMessageConverter xmlConverter = new MarshallingHttpMessageConverter();
final XStreamMarshaller xstreamMarshaller = new XStreamMarshaller();
xstreamMarshaller.setAutodetectAnnotations(true);
xmlConverter.setMarshaller(xstreamMarshaller);
xmlConverter.setUnmarshaller(xstreamMarshaller);