I have a model class Item with a Integer value. I builded an app using this
model.
For a new particular case, the value should be a Float as well.
So I changed the type of value to Float and regenerate setter/getter.
In order to not change the current app, I try to create a overloading
method :
public void setValue(Integer value) {
this.value = value.floatValue();
}
At java level, everything seems ok, all compile errors are solved. But at
GWT compilation, the call of this method complains with :
[ERROR] Line 93: The method setValue(Float) in the type Item is
not applicable for the arguments (Integer)
like if GWT doesnot see my method setValue(Integer).
Am I missing something ? Is there a way to make this works without
creating a second separate attribute ?
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit/63ce0c7f-927a-4f1e-a321-b33735d644c3n%40googlegroups.com.