From a6a685b0f6733c3b8cd6b00e9995335361dfa0d9 Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 22 Jul 2016 16:36:14 +0200 Subject: [PATCH] make Response class final --- .../rest/src/main/java/org/elasticsearch/client/Response.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/rest/src/main/java/org/elasticsearch/client/Response.java b/client/rest/src/main/java/org/elasticsearch/client/Response.java index 91ca0a6c935..7edaa49c2ea 100644 --- a/client/rest/src/main/java/org/elasticsearch/client/Response.java +++ b/client/rest/src/main/java/org/elasticsearch/client/Response.java @@ -32,7 +32,7 @@ import java.util.Objects; * Holds an elasticsearch response. It wraps the {@link HttpResponse} returned and associates it with * its corresponding {@link RequestLine} and {@link HttpHost}. */ -public class Response { +public final class Response { private final RequestLine requestLine; private final HttpHost host;