Buggy code:
public class RestTemplate extends HttpAccessor implements RestOperations { private final ResponseExtractor < HttpHeaders > headersExtractor = new RestTemplate . HeadersExtractor ( ) ; private HttpMessageConverter < ? > [ ] messageConverters = new HttpMessageConverter [ ] { new ByteArrayHttpMessageConverter ( ) , new StringHttpMessageConverter ( ) , new FormHttpMessageConverter ( ) , new SourceHttpMessageConverter ( ) } ; private ResponseErrorHandler errorHandler = new DefaultResponseErrorHandler ( ) ; public RestTemplate ( ) { } public RestTemplate ( ClientHttpRequestFactory requestFactory ) { } public void setMessageConverters ( HttpMessageConverter < ? > [ ] messageConverters ) { } public HttpMessageConverter < ? > [ ] getMessageConverters ( ) { } @ SuppressWarnings ( "unchecked" ) protected < T > List < HttpMessageConverter < T > > getSupportedMessageConverters ( Class < T > type ) { } public void setErrorHandler ( ResponseErrorHandler errorHandler ) { } public ResponseErrorHandler getErrorHandler ( ) { } public < T > T getForObject ( String url , Class < T > responseType , String ... urlVariables ) throws RestClientException { } public < T > T getForObject ( String url , Class < T > responseType , Map < String , String > urlVariables ) throws RestClientException { } public HttpHeaders headForHeaders ( String url , String ... urlVariables ) throws RestClientException { } public HttpHeaders headForHeaders ( String url , Map < String , String > urlVariables ) throws RestClientException { } public URI postForLocation ( String url , Object request , String ... urlVariables ) throws RestClientException { } public URI postForLocation ( String url , Object request , Map < String , String > urlVariables ) throws RestClientException { } public void put ( String url , Object request , String ... urlVariables ) throws RestClientException { } public void put ( String url , Object request , Map < String , String > urlVariables ) throws RestClientException { } public void delete ( String url , String ... urlVariables ) throws RestClientException { } public void delete ( String url , Map < String , String > urlVariables ) throws RestClientException { } public Set < HttpMethod > optionsForAllow ( String url , String ... urlVariables ) throws RestClientException { } public Set < HttpMethod > optionsForAllow ( String url , Map < String , String > urlVariables ) throws RestClientException { } public < T > T execute ( String url , HttpMethod method , RequestCallback requestCallback , ResponseExtractor < T > responseExtractor , String ... urlVariables ) throws RestClientException { } public < T > T execute ( String url , HttpMethod method , RequestCallback requestCallback , ResponseExtractor < T > responseExtractor , Map < String , String > urlVariables ) throws RestClientException { } protected < T > T doExecute ( URI url , HttpMethod method , RequestCallback requestCallback , ResponseExtractor < T > responseExtractor ) throws RestClientException { } private void checkForSupportedMessageConverter ( Class type ) { } private class GetCallback < T > implements RequestCallback { private final Class < T > responseType ; private GetCallback ( Class < T > responseType ) { } public void doWithRequest ( ClientHttpRequest request ) throws IOException { } } private class PostPutCallback implements RequestCallback { private final Object request ; private PostPutCallback ( Object request ) { } @ SuppressWarnings ( "unchecked" ) public void doWithRequest ( ClientHttpRequest httpRequest ) throws IOException { } } private class HttpMessageConverterExtractor < T > implements ResponseExtractor < T > { private final Class < T > responseType ; private HttpMessageConverterExtractor ( Class < T > responseType ) { } public T extractData ( ClientHttpResponse response ) throws IOException { MediaType contentType = response . getHeaders ( ) . getContentType ( ) ; if ( contentType == null ) { throw new RestClientException ( "Cannot<seq2seq4repair_space>extract<seq2seq4repair_space>response:<seq2seq4repair_space>no<seq2seq4repair_space>Content-Type<seq2seq4repair_space>found" ) ; } for ( HttpMessageConverter < T > messageConverter : getSupportedMessageConverters ( this . responseType ) ) { for ( MediaType supportedMediaType : messageConverter . getSupportedMediaTypes ( ) ) { if ( supportedMediaType . includes ( contentType ) ) { return messageConverter . read ( this . responseType , response ) ; } } } <START_BUG> throw new RestClientException ( ( ( ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>extract<seq2seq4repair_space>response:<seq2seq4repair_space>no<seq2seq4repair_space>suitable<seq2seq4repair_space>HttpMessageConverter<seq2seq4repair_space>found<seq2seq4repair_space>for<seq2seq4repair_space>" + "response<seq2seq4repair_space>type<seq2seq4repair_space>[" ) + ( this . responseType . getName ( ) ) ) + "]<seq2seq4repair_space>and<seq2seq4repair_space>content<seq2seq4repair_space>type<seq2seq4repair_space>[" ) + contentType ) + "]" ) ) ; <END_BUG> } } private static class HeadersExtractor implements ResponseExtractor < HttpHeaders > { public HttpHeaders extractData ( ClientHttpResponse response ) throws IOException { return response . getHeaders ( ) ; } } }

Fix:
throw new RestClientException ( ( ( ( ( "Could<seq2seq4repair_space>not<seq2seq4repair_space>extract<seq2seq4repair_space>response:<seq2seq4repair_space>no<seq2seq4repair_space>suitable<seq2seq4repair_space>HttpMessageConverter<seq2seq4repair_space>found<seq2seq4repair_space>for<seq2seq4repair_space>response<seq2seq4repair_space>type<seq2seq4repair_space>[" + ( this . responseType . getName ( ) ) ) + "]<seq2seq4repair_space>and<seq2seq4repair_space>content<seq2seq4repair_space>type<seq2seq4repair_space>[" ) + contentType ) + "]" ) ) ;