diff options
Diffstat (limited to 'src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java index 5782a0b822..a60fb808a1 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java @@ -450,12 +450,8 @@ public class ApplicationConfiguration implements EntryPoint { // Prepare VConsole for debugging if (isDebugMode()) { Console console = GWT.create(Console.class); - if (console instanceof VDebugConsole) { - // Methods from VDebugConsole not present in Console - VDebugConsole vDebugConsole = (VDebugConsole) console; - vDebugConsole.setQuietMode(isQuietDebugMode()); - vDebugConsole.init(); - } + console.setQuietMode(isQuietDebugMode()); + console.init(); VConsole.setImplementation(console); } else { VConsole.setImplementation((Console) GWT.create(NullConsole.class)); |