c++ - 为什么Eclipse提示Query类一个删除线?
PHP中文网
PHP中文网 2017-04-17 15:35:29
0
4
659

提示:
Query is a raw type. References to generic type Query<R> should be parameterized

这是怎么回事啊?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(4)
巴扎黑

The Query you quoted is now deprecated and there is a better alternative

黄舟

There are too many tags...

巴扎黑

The Query class is marked with the @Deprecated annotation, which is no longer recommended. However, for compatibility or other reasons, it needs to be retained for the time being.

When Eclipse detects @Deprecated, it will prompt with a strikethrough.

巴扎黑

The strikethrough means that although it can still be used, it is not recommended. Future versions are likely to be incompatible. Often, other classes or functions with the same function in the current code base will replace it. Just look for it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!