Created
May 9, 2011 13:28
-
-
Save runeflobakk/962518 to your computer and use it in GitHub Desktop.
Add this to your Wicket application class to limit Wicket dev mode warning to one per JVM instead of per test. Reduces clutter in build log.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static boolean warnedAboutDevMode = false; | |
@Override | |
protected void outputDevelopmentModeWarning() { | |
if (warnedAboutDevMode) { | |
return; | |
} | |
super.outputDevelopmentModeWarning(); | |
warnedAboutDevMode = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment