Revision: 8214
Author: igork...@google.com
Date: Wed May 26 06:47:24 2010
Log: Redeclare interface method in the enum to work around a javac bug.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6724345 for details.
Review at http://gwt-code-reviews.appspot.com/564801
http://code.google.com/p/google-web-toolkit/source/detail?r=8214
Modified:
/trunk/user/src/com/google/gwt/dom/client/Style.java
=======================================
--- /trunk/user/src/com/google/gwt/dom/client/Style.java Thu Jan 14
11:09:34 2010
+++ /trunk/user/src/com/google/gwt/dom/client/Style.java Wed May 26
06:47:24 2010
@@ -124,6 +124,7 @@
return BORDER_STYLE_SOLID;
}
};
+ public abstract String getCssName();
}
/**
@@ -220,6 +221,7 @@
return CURSOR_ROW_RESIZE;
}
};
+ public abstract String getCssName();
}
/**
@@ -246,6 +248,7 @@
return DISPLAY_INLINE_BLOCK;
}
};
+ public abstract String getCssName();
}
/**
@@ -266,7 +269,8 @@
public String getCssName() {
return FLOAT_NONE;
}
- },
+ };
+ public abstract String getCssName();
}
/**
@@ -288,6 +292,7 @@
return FONT_STYLE_OBLIQUE;
}
};
+ public abstract String getCssName();
}
/**
@@ -314,6 +319,7 @@
return FONT_WEIGHT_LIGHTER;
}
};
+ public abstract String getCssName();
}
/**
@@ -365,6 +371,7 @@
return LIST_STYLE_TYPE_UPPER_ROMAN;
}
};
+ public abstract String getCssName();
}
/**
@@ -391,6 +398,7 @@
return OVERFLOW_AUTO;
}
};
+ public abstract String getCssName();
}
/**
@@ -417,6 +425,7 @@
return POSITION_FIXED;
}
};
+ public abstract String getCssName();
}
/**
@@ -443,6 +452,7 @@
return TEXT_DECORATION_LINE_THROUGH;
}
};
+ public abstract String getCssName();
}
/**
@@ -488,7 +498,8 @@
public String getCssName() {
return VERTICAL_ALIGN_TEXT_BOTTOM;
}
- },
+ };
+ public abstract String getCssName();
}
/**
@@ -505,6 +516,7 @@
return VISIBILITY_HIDDEN;
}
};
+ public abstract String getCssName();
}
private static final String BORDER_STYLE_SOLID = "solid";
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors