@Test public void testCopy$differentInstance() { Date now = new Date(); assertThat(DateUtil.copy(now),not(sameInstance(now))); }
static Date copy(final Date date) { Date tmp=date; if(tmp!=null) { tmp=new Date(tmp.getTime()); } return tmp; }
DateUtil { static Date copy(final Date date) { Date tmp=date; if(tmp!=null) { tmp=new Date(tmp.getTime()); } return tmp; } }
DateUtil { static Date copy(final Date date) { Date tmp=date; if(tmp!=null) { tmp=new Date(tmp.getTime()); } return tmp; } private  DateUtil(); }
DateUtil { static Date copy(final Date date) { Date tmp=date; if(tmp!=null) { tmp=new Date(tmp.getTime()); } return tmp; } private  DateUtil();  }
DateUtil { static Date copy(final Date date) { Date tmp=date; if(tmp!=null) { tmp=new Date(tmp.getTime()); } return tmp; } private  DateUtil();   }