diff options
Diffstat (limited to 'configserver/src/main/java')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/http/ContentHandler.java | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |