最近使用eclipse开发代码时,公司要求按他们制定代码规范编写代码,其他都还好,因为基本都养成良好习惯了,但TODO和FIXME就有点陌生,查了一下资料,发现笔者寡闻了,果然学海无涯,好了,下边解释一下,这两个任务标记的用法;

2,FIXME: 说明 ,该标签用来提醒你代码中存在稍后某个时间需要修改的部分,需要修正的功能;

3,除过上边两个还有xxx: 说明 ,表示被注释的代码虽然实现了功能,但需要改进的功能。

例如:

/**
  * 查询已添加外部出行人员
  * @param filterMask
  * @param model
  * @param request
  * @param response
  * @return
  * @throws IOException
  */
 //FIXME 模拟查询已添加外部出行人员数据
 @RequestMapping(value = "/travelVehicleTravelerDtl/queryOuter", method = RequestMethod.POST)
 public void  queryOuter( Model model, HttpServletRequest request, HttpServletResponse response) throws IOException {

 }

因目前笔者水平有限,如有不对的地方希望朋友们指出,共同进步。

相关文章:

  • 2022-12-23
  • 2021-09-07
  • 2021-12-17
  • 2022-12-23
  • 2021-10-20
  • 2021-11-23
  • 2021-08-17
猜你喜欢
  • 2021-09-30
  • 2021-07-15
  • 2021-06-23
  • 2022-01-25
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案