You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ts...@apache.org on 2016/10/01 19:57:00 UTC

wicket git commit: WICKET-6194 - Fixed if modified since condition

Repository: wicket
Updated Branches:
  refs/heads/master 1d30a3aca -> 0dac0d55c


WICKET-6194 - Fixed if modified since condition

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/0dac0d55
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/0dac0d55
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/0dac0d55

Branch: refs/heads/master
Commit: 0dac0d55c93c74457653833e3436c0a564e07aca
Parents: 1d30a3a
Author: Tobias Soloschenko <ts...@apache.org>
Authored: Sat Oct 1 21:54:21 2016 +0200
Committer: Tobias Soloschenko <ts...@apache.org>
Committed: Sat Oct 1 21:54:21 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/http2/markup/head/PushHeaderItem.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/0dac0d55/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/org/apache/wicket/http2/markup/head/PushHeaderItem.java
----------------------------------------------------------------------
diff --git a/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/org/apache/wicket/http2/markup/head/PushHeaderItem.java b/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/org/apache/wicket/http2/markup/head/PushHeaderItem.java
index 97c6c95..69141eb 100644
--- a/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/org/apache/wicket/http2/markup/head/PushHeaderItem.java
+++ b/wicket-experimental/wicket-http2/wicket-http2-core/src/main/java/org/apache/wicket/http2/markup/head/PushHeaderItem.java
@@ -253,7 +253,7 @@ public class PushHeaderItem extends HeaderItem
 
 				// if the modified since header is before the page modification time or if it can't
 				// be parsed push it.
-				else if (ifModifiedSinceFromRequestTime == null ||
+				if (ifModifiedSinceFromRequestTime == null ||
 					ifModifiedSinceFromRequestTime.before(pageModificationTime))
 				{
 					// Some browsers like IE 9-11 or Chrome 39 that does not send right headers