这个错误的解决方式找不到,有大神吗,求助?????
错误图示
Explicit type argument RewardActivity can be replaced with <> less… (Ctrl+F1)
This inspection reports all new expressions with type arguments which can be replaced with diamond type <>
Such <> syntax is not supported under Java 1.6 or earlier JVMs.
显式的类型参数可以替换为< > RewardActivity少……(Ctrl + F1)
这个检验报告所有新表达式的类型参数可以使用钻石类型替换< >
这样的< >语法不支持Java 1.6或更早版本的jvm。
Modifier ‘public’ is redundant for interface fields less… (Ctrl+F1)
Reports any redundant modifiers on interfaces or interface components
修饰符“公众”是多余的接口字段少……(Ctrl + F1)
报告任何多余的修饰符或接口组件的接口
作者:帥酥
来源:优快云
原文:https://blog.youkuaiyun.com/s003603u/article/details/50120091
版权声明:本文为博主原创文章,转载请附上博文链接!