From d7b1c17a9f5c4a656a8bcd0caeca9314ae5212c5 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Fri, 19 Jan 2018 12:56:17 +0100 Subject: Refer to generated tensors by absolute path --- .../main/java/com/yahoo/vespa/config/server/http/ContentHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configserver/src/main/java') diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java b/configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java index 5e7dfd394e6..7112c7d3e23 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java @@ -16,7 +16,6 @@ import java.util.List; * are handled by this class. * * @author hmusum - * @since 5.1.15 */ public class ContentHandler { @@ -72,7 +71,7 @@ public class ContentHandler { } private void createFile(ContentRequest request, ApplicationFile file) { - if (!request.hasRequestBody()) { + if ( ! request.hasRequestBody()) { throw new BadRequestException("Request must contain body when creating a file"); } try { -- cgit v1.2.3