From 268b5386edb59cb7673f6cc9c9c0f0870fd8c26c Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sat, 24 Jul 2010 17:18:46 +0000 Subject: [PATCH 1/1] --- .../java/org/wamblee/wicket/behavior/DisableCachingBehavior.java | 1 - .../wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java | 1 - 2 files changed, 2 deletions(-) diff --git a/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java b/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java index d6ff4d0f..18956a6e 100644 --- a/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java +++ b/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java @@ -38,7 +38,6 @@ public class DisableCachingBehavior extends ExpirePageImmediatelyBehavior { @Override public void setHeaders(WebPage aPage, WebResponse aResponse) { - System.out.println("Disabling caching for " + aPage.getClass().getName()); aResponse.setHeader("Pragma", "no-cache"); aResponse.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); diff --git a/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java b/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java index 0644375e..16e1c9bd 100644 --- a/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java +++ b/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java @@ -28,7 +28,6 @@ public class ExpirePageImmediatelyBehavior extends AbstractPageBehavior { @Override public void onAfterRender(WebPage aPage) { - System.out.println("Removing page " + aPage.getClass() + " from the pagemap"); aPage.getPageMap().remove(aPage); } -- 2.31.1