private static void updateLastModified(File destDir,String warFilePath){
  File warFile=new File(warFilePath);
  destDir.setLastModified(warFile.lastModified());
}

private static void updateLastModified ( File destDir , String warFilePath ) { File warFile = new File ( warFilePath ) ; destDir . setLastModified ( warFile . lastModified ( ) ) ; }
updates the last - modified timestamp of the webapp directory to that of the daemon war .
