]> juplo.de Git - percentcodec/commitdiff
Für Handler, die kein ETag bestimmen, darf auch kein leeres gesetzt werden
authorKai Moritz <kai@coolibri.de>
Sun, 24 Jun 2012 23:01:33 +0000 (01:01 +0200)
committerKai Moritz <kai@coolibri.de>
Thu, 2 Aug 2012 07:03:27 +0000 (09:03 +0200)
cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java

index bf49a4530163aaa630d0fd88d7bd2c0f3d98876c..c7bee9e0a0ce9710c26c73af50809b878218855a 100644 (file)
@@ -328,7 +328,6 @@ public class CacheControl {
 
       cacheSeconds = CacheControl.this.defaultCacheSeconds;
       lastModified = CacheControl.this.defaultLastModified;
-      eTag = "";
 
       /** Class-Level-Annotations auslesen */
       for (Annotation annotation : handler.getClass().getAnnotations()) {