引用的深入理解

来源:互联网 发布:jdbcutils.java工具类 编辑:程序博客网 时间:2024/06/04 18:29
public List<Lens> getLens(String videoName){System.out.println(videoName);boolean res = new VideoUtil().getLines(videoName, 0.0 , 300000);try {Thread.sleep(20000);} catch (InterruptedException e) {e.printStackTrace();}List<Lens> copyList = list;list.clear();if(res){videoService.save(copyList);return copyList; }return null;}


videoService.save(copyList);是空的

原创粉丝点击