Subversion Repository Public Repository

litesoft

Diff Revisions 475 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/OverrideDOM.java

Diff revisions: vs.
  @@ -23,12 +23,10 @@
23 23 * <p/>
24 24 * TODO: incorporate into DOM
25 25 */
26 - public class OverrideDOM extends DOM
27 - {
26 + public class OverrideDOM extends DOM {
28 27 private static OverrideDOMImpl impl2;
29 28
30 - static
31 - {
29 + static {
32 30 impl2 = GWT.create( OverrideDOMImpl.class );
33 31 }
34 32
  @@ -37,8 +35,7 @@
37 35 *
38 36 * @return the newly-created element
39 37 */
40 - public static Element createTD()
41 - {
38 + public static Element createTD() {
42 39 return impl2.createTD();
43 40 }
44 41
  @@ -47,8 +44,7 @@
47 44 *
48 45 * @return the newly-created element
49 46 */
50 - public static Element createTH()
51 - {
47 + public static Element createTH() {
52 48 return impl2.createTH();
53 49 }
54 50
  @@ -59,8 +55,7 @@
59 55 *
60 56 * @return the cell index
61 57 */
62 - public static int getCellIndex( Element td )
63 - {
58 + public static int getCellIndex( Element td ) {
64 59 return impl2.getCellIndex( td );
65 60 }
66 61
  @@ -71,8 +66,7 @@
71 66 *
72 67 * @return the row index
73 68 */
74 - public static int getRowIndex( Element tr )
75 - {
69 + public static int getRowIndex( Element tr ) {
76 70 return DOM.getElementPropertyInt( tr, "rowIndex" );
77 71 }
78 72 }