From 5e95645f075e321d976bdeedd03720711b17567f Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 6 Jan 2011 02:57:27 +0000 Subject: [PATCH] Missing @Overrides git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1055722 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/http/impl/client/cache/CacheEntity.java | 1 + .../java/org/apache/http/impl/client/cache/WarningValue.java | 1 + 2 files changed, 2 insertions(+) diff --git a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CacheEntity.java b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CacheEntity.java index 122830063..538689add 100644 --- a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CacheEntity.java +++ b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/CacheEntity.java @@ -92,6 +92,7 @@ class CacheEntity implements HttpEntity, Serializable { public void consumeContent() throws IOException { } + @Override public Object clone() throws CloneNotSupportedException { return super.clone(); } diff --git a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/WarningValue.java b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/WarningValue.java index 8c39b8ea6..2c3c703ec 100644 --- a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/WarningValue.java +++ b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/WarningValue.java @@ -346,6 +346,7 @@ class WarningValue { * * @return {@link String} */ + @Override public String toString() { if (warnDate != null) { return String.format("%d %s %s \"%s\"", warnCode,