Repository: wicket Updated Branches: refs/heads/master 403db7550 -> dae680cf9
WICKET-6206 Allow overriding of addAntiCacheParameter ...in class Image, so that one can define precisely how to generate the anticache parameter value. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/b29d2617 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/b29d2617 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/b29d2617 Branch: refs/heads/master Commit: b29d2617e2bc996b74e1b959e7c8fb73caaba6ee Parents: 0ff4617 Author: Yoann Rodière <yoann.rodi...@openwide.fr> Authored: Mon Jul 18 12:43:55 2016 +0200 Committer: Yoann Rodière <yoann.rodi...@openwide.fr> Committed: Mon Jul 18 12:43:55 2016 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/wicket/markup/html/image/Image.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/b29d2617/wicket-core/src/main/java/org/apache/wicket/markup/html/image/Image.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/image/Image.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/image/Image.java index 7aa9b85..5bcfdef 100644 --- a/wicket-core/src/main/java/org/apache/wicket/markup/html/image/Image.java +++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/image/Image.java @@ -548,7 +548,7 @@ public class Image extends WebComponent implements IRequestListener * * @param tag */ - protected final void addAntiCacheParameter(final ComponentTag tag) + protected void addAntiCacheParameter(final ComponentTag tag) { String url = tag.getAttributes().getString("src"); url = url + (url.contains("?") ? "&" : "?");