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
While it is ok to use type == xxx.class for final java classes I don't think it should be used for Date. Instead instanceof should be used so that the following method calls behave the same:
class: org.elasticsearch.common.xcontent.XContentBuilder
method: field(String name, Object value)
While it is ok to use
type == xxx.class
for final java classes I don't think it should be used for Date. Insteadinstanceof
should be used so that the following method calls behave the same:The text was updated successfully, but these errors were encountered: