e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 123 (0.0030 seconds)
Class: task.Txt2Html  ©, Rating: 0% of 0, C2

090 File from = new File( basedir, files[i] ); 091 File to = new File( todir, files[i] + ".html" ); 092 if( !to.exists() || 093 (from.lastModified() > to.lastModified()) ) 094 {

Class: org.apache.tools.ant.taskdefs.Copyfile  ©, Rating: 0% of 0, C2

79 } 80 81 if (forceOverwrite 82 || srcFile.lastModified() > destFile.lastModified()) { 83 try {

Class: org.apache.tools.ant.types.selectors.DifferentSelector  ©, Rating: 0% of 0, C2

79 //same date if dest timestamp is within granularity of the srcfile 80 boolean sameDate; 81 sameDate = destfile.lastModified() >= srcfile.lastModified() - granularity 82 && destfile.lastModified() <= srcfile.lastModified() + granularity; 83

Class: org.apache.catalina.cluster.deploy.WarWatcher  ©, Rating: 0% of 0, C1

155 156 public boolean modified() { 157 return war.exists() && 158 war.lastModified() > lastChecked; 159 }

Class: org.apache.catalina.cluster.deploy.WarWatcher  ©, Rating: 0% of 0, C1

150 public WarInfo(File war) { 151 this.war = war; 152 this.lastChecked = war.lastModified(); 153 if ( !war.exists() ) lastState = -1; 154 }

Class: org.apache.tools.ant.taskdefs.GUnzip  ©, Rating: 0% of 0, C2

43 44 protected void extract() { 45 if (source.lastModified() > dest.lastModified()) { 46 log("Expanding " + source.getAbsolutePath() + " to " 47 + dest.getAbsolutePath());

Class: org.apache.tools.ant.taskdefs.optional.ReplaceRegExpTest  ©, Rating: 0% of 0, C1

081 long timeStampBefore = myFile.lastModified(); 082 executeTarget("testDirectoryDateDoesNotChange"); 083 long timeStampAfter = myFile.lastModified(); 084 assertEquals("directory date should not change", 085 timeStampBefore, timeStampAfter);

Class: org.apache.tools.ant.taskdefs.optional.ReplaceRegExpTest  ©, Rating: 0% of 0, C1

079 executeTarget("touchDirectory"); 080 File myFile = new File(PROJECT_PATH + "/" + getProject().getProperty("tmpregexp")); 081 long timeStampBefore = myFile.lastModified(); 082 executeTarget("testDirectoryDateDoesNotChange"); 083 long timeStampAfter = myFile.lastModified();

Class: org.apache.tools.ant.taskdefs.BUnzip2  ©, Rating: 0% of 0, C2

046 047 protected void extract() { 048 if (source.lastModified() > dest.lastModified()) { 049 log("Expanding " + source.getAbsolutePath() + " to " 050 + dest.getAbsolutePath());

Class: org.apache.tools.ant.taskdefs.TouchTest  ©, Rating: 0% of 0, C1

046 throw new BuildException("failed to touch file "+touchfile); 047 } 048 return file.lastModified(); 049 } 050

Result Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10   Next