Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/property/ColumnProperty.java

Diff revisions: vs.
  @@ -18,21 +18,18 @@
18 18 /**
19 19 * A simple property of a column.
20 20 */
21 - public abstract class ColumnProperty
22 - {
21 + public abstract class ColumnProperty {
23 22 /**
24 23 * Type class used to register properties.
25 24 */
26 - public abstract static class Type<P extends ColumnProperty>
27 - {
25 + public abstract static class Type<P extends ColumnProperty> {
28 26 private static int nextHashCode;
29 27 private final int index;
30 28
31 29 /**
32 30 * Construct a new type.
33 31 */
34 - public Type()
35 - {
32 + public Type() {
36 33 index = ++nextHashCode;
37 34 }
38 35
  @@ -45,8 +42,7 @@
45 42 public abstract P getDefault();
46 43
47 44 @Override
48 - public final int hashCode()
49 - {
45 + public final int hashCode() {
50 46 return index;
51 47 }
52 48 }