In 5.1 {{BasicQueryContract#setFlushMode}} returns {{BasicQueryContract}}. As of 5.3 (and possibly probably 5.2) {{BasicQueryContract#setFlushMode}} has been deprecated (which is fine itself) and inherits the implementation of this method from {{CommonQueryContract}} which returns {{CommonQueryContract}}. Resolution : in 5.3 (and probably 5.2) {{BasicQueryContract }} should override {{CommonQueryContract #setFlushMode}} should be changed to return {{BasicQueryContract}} |
|