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,