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
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8214 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/dom/client/Style.java b/user/src/com/google/gwt/dom/client/Style.java
index 07cf3b7..e2c3b84 100644
--- a/user/src/com/google/gwt/dom/client/Style.java
+++ b/user/src/com/google/gwt/dom/client/Style.java
@@ -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";