From: Jani Laakso Date: Tue, 6 Feb 2007 15:34:03 +0000 (+0000) Subject: Fixed comment. X-Git-Tag: 6.7.0.beta1~6687 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ed5b34b2e06e668012e1de9d0dac7052416ebe8;p=vaadin-framework.git Fixed comment. svn changeset:482/svn branch:toolkit --- diff --git a/src/com/itmill/toolkit/Application.java b/src/com/itmill/toolkit/Application.java index 5ac84d1be7..bb069fb9b8 100644 --- a/src/com/itmill/toolkit/Application.java +++ b/src/com/itmill/toolkit/Application.java @@ -58,14 +58,14 @@ import java.net.URL; *

* *

- * As mentioned, all IT Mill Toolkit applications must inherit this class. However, - * this is almost all of what one needs to do to create a fully functional - * application. The only thing a class inheriting the + * As mentioned, all IT Mill Toolkit applications must inherit this class. + * However, this is almost all of what one needs to do to create a fully + * functional application. The only thing a class inheriting the * Application needs to do is implement the init() * where it creates the windows it needs to perform its function. Note that all - * applications must have at least one window: the main window. The - * first unnamed window constructed by an application automatically becomes the - * main window which behaves just like other windows with one exception: when + * applications must have at least one window: the main window. The first + * unnamed window constructed by an application automatically becomes the main + * window which behaves just like other windows with one exception: when * accessing windows using URLs the main window corresponds to the application * URL whereas other windows correspond to a URL gotten by catenating the * window's name to the application URL. @@ -88,14 +88,13 @@ import java.net.URL; *

* *

- * Theme selection. The theme selection process - * allows a theme to be specified at three different levels. When a window's - * theme needs to be found out, the window itself is queried for a preferred - * theme. If the window does not prefer a specific theme, the application - * containing the window is queried. If neither the application prefers a theme, - * the default theme for the - * {@link com.itmill.toolkit.terminal.Terminal terminal} is used. The terminal - * always defines a default theme. + * Theme selection. The theme selection process allows a theme + * to be specified at three different levels. When a window's theme needs to be + * found out, the window itself is queried for a preferred theme. If the window + * does not prefer a specific theme, the application containing the window is + * queried. If neither the application prefers a theme, the default theme for + * the {@link com.itmill.toolkit.terminal.Terminal terminal} is used. The + * terminal always defines a default theme. *

* * @author IT Mill Ltd. @@ -520,15 +519,9 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener /* * @see com.itmill.toolkit.terminal.URIHandler#handleURI(URL, String) */ - public DownloadStream handleURI(URL context, String relativeUri) { // If - // the - // relative - // uri - // is - // null, - // we - // are - // ready + public DownloadStream handleURI(URL context, String relativeUri) { + + // If the relative uri is null, we are ready if (relativeUri == null) return null;