You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware that FixedValue has two value methods. One takes a JavaConstant and the other takes an Object.
The one that takes an Object does not check to see if the Object is, itself, a JavaConstant implementation. I think it should, and should then delegate to the value(JavaConstant) method.
(Obviously the work around is for the user herself to do the (tedious, boring) instanceof check before choosing which method to invoke.)
I'll file a PR soon.
The text was updated successfully, but these errors were encountered:
I'm aware that
FixedValue
has twovalue
methods. One takes aJavaConstant
and the other takes anObject
.The one that takes an
Object
does not check to see if theObject
is, itself, aJavaConstant
implementation. I think it should, and should then delegate to thevalue(JavaConstant)
method.(Obviously the work around is for the user herself to do the (tedious, boring)
instanceof
check before choosing which method to invoke.)I'll file a PR soon.
The text was updated successfully, but these errors were encountered: