]> source.dussan.org Git - vaadin-framework.git/commitdiff
removed obsolete method.
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Dec 2008 08:14:19 +0000 (08:14 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 18 Dec 2008 08:14:19 +0000 (08:14 +0000)
svn changeset:6257/svn branch:trunk

src/com/itmill/toolkit/Application.java

index bc76ac63a230749fdaf5ee111dde8710a49ecbdc..6535c63b4a8808a806f24a9a5ec54e4e4e55a18e 100644 (file)
@@ -179,8 +179,6 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener
      */
     private Terminal.ErrorListener errorHandler = this;
 
-    private boolean debugMode = true;
-
     /**
      * <p>
      * Gets a window by name. Returns <code>null</code> if the application is
@@ -469,12 +467,6 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener
         this.applicationUrl = applicationUrl;
         properties = applicationProperties;
         this.context = context;
-        if ((getProperty("Debug") != null && getProperty("Debug")
-                .equals("true"))
-                || getProperty("debug") != null
-                && getProperty("debug").equals("true")) {
-            debugMode = true;
-        }
         init();
         applicationIsRunning = true;
     }
@@ -1514,12 +1506,4 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener
 
     }
 
-    /**
-     * Return true if application is in debug mode.
-     * 
-     * @return true if in debug modes
-     */
-    public boolean isDebugMode() {
-        return debugMode;
-    }
 }
\ No newline at end of file