[google-web-toolkit commit] r1704 - trunk/user/src/com/google/gwt/core/client

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 15, 2008, 3:57:58 PM1/15/08
to gwt...@gmail.com
Author: gwt.team.scottb
Date: Tue Jan 15 12:57:39 2008
New Revision: 1704

Modified:
trunk/user/src/com/google/gwt/core/client/GWT.java-hosted

Log:
Manually sorted GWT.java-hosted

Modified: trunk/user/src/com/google/gwt/core/client/GWT.java-hosted
==============================================================================
--- trunk/user/src/com/google/gwt/core/client/GWT.java-hosted (original)
+++ trunk/user/src/com/google/gwt/core/client/GWT.java-hosted Tue Jan
15 12:57:39 2008
@@ -33,30 +33,11 @@
}
};

- public static UncaughtExceptionHandler getUncaughtExceptionHandler() {
- return sUncaughtExceptionHandler;
- }
-
- public static void setUncaughtExceptionHandler(
- UncaughtExceptionHandler handler) {
- sUncaughtExceptionHandler = handler;
- }
-
public static <T> T create(Class<?> classLiteral) {
// deferred binding at runtime
return ShellGWT.create(classLiteral);
}

- public static String getTypeName(Object o) {
- // uses reflection in hosted mode
- return ShellGWT.getTypeName(o);
- }
-
- public static boolean isScript() {
- // false in hosted mode
- return false;
- }
-
public static String getHostPageBaseURL() {
return Impl.getHostPageBaseURL();
}
@@ -69,8 +50,27 @@
return Impl.getModuleName();
}

+ public static String getTypeName(Object o) {
+ // uses reflection in hosted mode
+ return ShellGWT.getTypeName(o);
+ }
+
+ public static UncaughtExceptionHandler getUncaughtExceptionHandler() {
+ return sUncaughtExceptionHandler;
+ }
+
+ public static boolean isScript() {
+ // false in hosted mode
+ return false;
+ }
+
public static void log(String message, Throwable e) {
// logs to the shell logger in hosted mode
ShellGWT.log(message, e);
+ }
+
+ public static void setUncaughtExceptionHandler(
+ UncaughtExceptionHandler handler) {
+ sUncaughtExceptionHandler = handler;
}
}

Reply all
Reply to author
Forward
0 new messages