今天在写项目的时候,写了一个三元表达式,刚写完分号,就显示红色的波浪线。郁闷。。。。。。

 

错误: 

String tIdType=tLPBnfSchema.getIDType();
tIdType==null ?(""):tIdType;


正确:

String tIdType=tLPBnfSchema.getIDType();
tIdType=(tIdType==null) ?(""):tIdType;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2022-01-21
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案