diff --git a/src/test/java/ch/ethz/seb/sebserver/HTTPClientBot.java b/src/test/java/ch/ethz/seb/sebserver/HTTPClientBot.java index 11b10ec0..5829d483 100644 --- a/src/test/java/ch/ethz/seb/sebserver/HTTPClientBot.java +++ b/src/test/java/ch/ethz/seb/sebserver/HTTPClientBot.java @@ -295,11 +295,11 @@ public class HTTPClientBot { try { - final ResponseEntity exchange = this.restTemplate.exchange( + final ResponseEntity exchange = this.restTemplate.exchange( this.handshakeURI, HttpMethod.PUT, configHeader, - new ParameterizedTypeReference<>() { + new ParameterizedTypeReference() { }); final HttpStatus statusCode = exchange.getStatusCode(); @@ -323,7 +323,7 @@ public class HTTPClientBot { this.pingURI, HttpMethod.POST, pingHeader, - new ParameterizedTypeReference<>() { + new ParameterizedTypeReference() { }); return true; @@ -340,7 +340,7 @@ public class HTTPClientBot { this.eventURI, HttpMethod.POST, eventHeader, - new ParameterizedTypeReference<>() { + new ParameterizedTypeReference() { }); return true; @@ -359,11 +359,11 @@ public class HTTPClientBot { try { - final ResponseEntity exchange = this.restTemplate.exchange( + final ResponseEntity exchange = this.restTemplate.exchange( this.handshakeURI, HttpMethod.DELETE, configHeader, - new ParameterizedTypeReference<>() { + new ParameterizedTypeReference() { }); final HttpStatus statusCode = exchange.getStatusCode();