Skip to content
This repository was archived by the owner on Sep 26, 2020. It is now read-only.

Commit 84f4ac7

Browse files
committed
gwt-i18n-client
1 parent fa99609 commit 84f4ac7

File tree

2,585 files changed

+42918
-55894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,585 files changed

+42918
-55894
lines changed

user/gwt-i18n-client/pom.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<parent>
7+
<groupId>com.google.gwt.user</groupId>
8+
<artifactId>gwt-user-parent</artifactId>
9+
<version>2.6.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>gwt-i18n-client</artifactId>
13+
14+
<dependencies>
15+
<dependency>
16+
<groupId>com.google.gwt.user</groupId>
17+
<artifactId>gwt-i18n-shared</artifactId>
18+
<version>${project.version}</version>
19+
</dependency>
20+
<dependency>
21+
<groupId>com.google.gwt.user</groupId>
22+
<artifactId>gwt-i18n-server</artifactId>
23+
<version>${project.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.gwt.user</groupId>
27+
<artifactId>gwt-dom</artifactId>
28+
<version>${project.version}</version>
29+
</dependency>
30+
<dependency>
31+
<groupId>com.google.gwt.dev</groupId>
32+
<artifactId>gwt-dev-ext</artifactId>
33+
<version>${project.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>com.google.gwt.util</groupId>
37+
<artifactId>gwt-codegen</artifactId>
38+
<version>${project.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>tapestry</groupId>
42+
<artifactId>tapestry</artifactId>
43+
<version>4.0.2</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.ibm.icu</groupId>
47+
<artifactId>icu4j</artifactId>
48+
<version>50.1.1</version>
49+
</dependency>
50+
</dependencies>
51+
</project>

user/src/com/google/gwt/i18n/client/TimeZoneInfo.java renamed to user/gwt-i18n-client/src/main/java/com/google/gwt/i18n/client/TimeZoneInfo.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import com.google.gwt.core.client.JavaScriptObject;
2020
import com.google.gwt.core.client.JsArrayInteger;
2121
import com.google.gwt.core.client.JsArrayString;
22-
import com.google.gwt.core.client.JsonUtils;
2322

2423
/**
2524
* A JavaScript Overlay type on top of the JSON data describing everything we
@@ -39,9 +38,13 @@ public class TimeZoneInfo extends JavaScriptObject {
3938
* @return a TimeZoneInfo object made from the supplied JSON.
4039
*/
4140
public static TimeZoneInfo buildTimeZoneData(String json) {
42-
return JsonUtils.safeEval(json);
41+
return (TimeZoneInfo) eval(json);
4342
}
4443

44+
private static native JavaScriptObject eval(String json) /*-{
45+
return eval("(" + json + ")");
46+
}-*/;
47+
4548
protected TimeZoneInfo() { }
4649

4750
public final native String getID() /*-{ return this.id; }-*/;

0 commit comments

Comments
 (0)