- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for emptyTree (0.17 sec)
-
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java
FileTreeInternal treeOf(MinimalFileTree tree); static FileTreeInternal emptyTree() { return EmptyFileTree.INSTANCE; } static FileTreeInternal emptyTree(String displayName) { if (FileTreeInternal.DEFAULT_TREE_DISPLAY_NAME.equals(displayName)) { return emptyTree(); } else { return new EmptyFileTree(displayName); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy
expect: def collection = FileCollectionFactory.empty() emptyCollection(collection) collection.toString() == "file collection" def tree = collection.asFileTree emptyTree(tree) tree.toString() == "file tree" } def "constructs empty collection with display name"() { expect: def collection = FileCollectionFactory.empty("some collection")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java
} @Override public FileTreeInternal treeOf(List<? extends FileTreeInternal> fileTrees) { if (fileTrees.isEmpty()) { return FileCollectionFactory.emptyTree(); } else if (fileTrees.size() == 1) { return fileTrees.get(0); } else { return new DefaultCompositeFileTree(taskDependencyFactory, patternSetFactory, ImmutableList.copyOf(fileTrees));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 18:57:37 UTC 2024 - 13.8K bytes - Viewed (0)