@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
if (System.getProperty("fixed") == null) {
System.err.println("==== Problem sample! ====");
converters.add(new ProtobufHttpMessageConverter(new ExtensionRegistryInitializer() {
@Override
public void initializeExtensionRegistry(ExtensionRegistry registry) {
}
}));
} else {
System.err.println("==== Fixed sample! ====");
converters.add(new ProtobufHttpMessageConverter(new ExtensionRegistryInitializer() {
@Override
public void initializeExtensionRegistry(ExtensionRegistry registry) {
}
}) {