Search Results
OK to copy?
Examples 1 through 10 of
14 (0.019999999999999997 seconds)
Class:
org.htmlparser.tests.codeMetrics.LineCounter
©,
Rating:
0% of 0,
C1
Class: org.apache.tools.ant.types.selectors.ContainsRegexpTest ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
Class: org.apache.catalina.cluster.deploy.WarWatcher ©, Rating: 0% of 0, C2
Class: org.apache.catalina.util.ExtensionValidator ©, Rating: 0% of 0, C2
Class: org.springframework.core.io.support.PathMatchingResourcePatternResolver ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.launch.Locator ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 100% of 1, C2
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 0% of 0, C2
093 public int recurseDirectory(File file, int count)
094 {
095 File[] files = file.listFiles(new FileFilter()
096 {
097 public boolean accept(File file)
Class: org.apache.tools.ant.types.selectors.ContainsRegexpTest ©, Rating: 0% of 0, C1
73
74 dir = new File(getProjectDir() + "/regexpseltestdest/");
75 files = dir.listFiles();
76 filecount = files.length;
77
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
079 for (int a = 0; a < libDirs.length; a++)
080 {
081 File[] libJars = libDirs[a].listFiles(new FilenameFilter()
082 {
083 public boolean accept(File dir, String name)
Class: org.apache.catalina.cluster.deploy.WarWatcher ©, Rating: 0% of 0, C2
078 while ( alive ) {
079 try {
080 File[] list = deployDir.listFiles(new WarFilter());
081 if ( list == null ) list = new File[0];
082 //first make sure all the files are listed in our current status
Class: org.apache.catalina.util.ExtensionValidator ©, Rating: 0% of 0, C2
399 continue;
400 }
401 File[] files = targetDir.listFiles();
402 for (int i = 0; i < files.length; i++) {
403 if (files[i].getName().toLowerCase().endsWith(".jar")) {
Class: org.springframework.core.io.support.PathMatchingResourcePatternResolver ©, Rating: 0% of 0, C2
365 "] for files matching pattern [" + fullPattern + "]");
366 }
367 File[] dirContents = dir.listFiles();
368 if (dirContents == null) {
369 throw new IOException("Could not retrieve contents of directory [" + dir.getAbsolutePath() + "]");
Class: org.apache.tools.ant.launch.Locator ©, Rating: 0% of 0, C2
248 }
249
250 File[] matches = location.listFiles(
251 new FilenameFilter() {
252 public boolean accept(File dir, String name) {
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 0% of 0, C2
226 // This directory may have become empty...
227 // We need to re-query its children list!
228 children = dir.listFiles();
229 }
230 if (children.length < 1 && removeIfEmpty) {
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 100% of 1, C2
215 int removedCount = 0;
216 if (dir.isDirectory()) {
217 File[] children = dir.listFiles();
218 for (int i = 0; i < children.length; ++i) {
219 File file = children[i];
Class: org.apache.tools.ant.taskdefs.Sync ©, Rating: 0% of 0, C2
149 int[] removedCount = new int[] {0, 0, 0};
150 if (file.isDirectory()) {
151 File[] children = file.listFiles();
152 for (int i = 0; i < children.length; ++i) {
153 int[] temp = removeOrphanFiles(nonOrphans, children[i]);