- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for dir (0.14 sec)
-
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
} public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
this.pattern = Preconditions.checkNotNull(pattern); } /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
} else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
public static void main(String[] args) throws TransformerException, IOException { if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]); String destDir = ""; if (args.length > 3) {
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertEquals("xxx789zzz", ResourceUtil.resolve(value)); value = "${\\$}"; assertEquals(value, ResourceUtil.resolve(value)); System.setProperty("test.dir", "c:\\test1\\test2"); value = "${test.dir}"; assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value)); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
MavenProject module = new MavenProject(moduleModel); module.setFile(new File("module-dir/pom.xml")); Model parentModel = new Model(); parentModel.addModule("../module-dir"); MavenProject parent = new MavenProject(parentModel); parent.setFile(new File("parent-dir/pom.xml")); String pathAdjustment = parent.getModulePathAdjustment(module);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
private File testDir; private File file1; @Override public void setUp() throws Exception { super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
// TODO: This should be in Javadoc task DirectoryProperty generatedJavadocDirectory = objects.directoryProperty(); generatedJavadocDirectory.set(layout.getBuildDirectory().dir("javadoc")); task.getOutputs().dir(generatedJavadocDirectory); task.getExtensions().getExtraProperties().set("destinationDirectory", generatedJavadocDirectory); // TODO: This breaks the provider
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Oct 16 13:03:20 GMT 2023 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); Files.createDirectory(fs.getPath("dir/e")); Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); Files.createFile(fs.getPath("dir/b/g"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0)