From f26b1945ad810c6155ed5a33a55e4de685303bd9 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 10 Jul 2019 12:16:12 +0200 Subject: [PATCH] fix compile --- .../java/ch/ethz/seb/sebserver/HTTPClientBot.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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();