this.identity = getClass();
}
+ @SuppressWarnings("unchecked")
protected <T> T getIdentity() {
return (T)identity;
}
return false;
if (getClass() != obj.getClass())
return false;
- StyleBase other = (StyleBase) obj;
+ StyleBase<?> other = (StyleBase<?>) obj;
if (identity == null) {
if (other.identity != null)
return false;