BAEL-3682 remove setAutodetectAnnotations in favor of aligning with the article's code samples
This commit is contained in:
parent
0de91a119e
commit
039416f0eb
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue