SonarLint: Provide the parametrized type for this generic.

落日映苍穹つ 2022-11-29 12:57 199阅读 0赞
  1. Raw use of parameterized class 'PageInfo'
  2. Unchecked call to 'PageInfo(List<T>)' as a member of raw type 'com.github.pagehelper.PageInfo'
  3. SonarLint: Provide the parametrized type for this generic.
  4. 原始使用参数化类'PageInfo'
  5. 未经审核的原始类型'com.github.pagehelper.PageInfo'的成员对'PageInfo(List <T>)'的调用
  6. SonarLint:为此泛型提供参数化类型。

20200821113312803.png

  1. PageInfo<SysUser> pageInfo = new PageInfo<>(list);

发表评论

表情:
评论列表 (有 0 条评论,199人围观)

还没有评论,来说两句吧...

相关阅读