getDuplicates() — spring-boot Function Reference
Architecture documentation for the getDuplicates() function in ArtifactsLibraries.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 86423096_f568_0d81_b582_f8109a06784f["getDuplicates()"] b90d033a_04b3_6f75_cb80_b215ee9728a0["doWithLibraries()"] b90d033a_04b3_6f75_cb80_b215ee9728a0 -->|calls| 86423096_f568_0d81_b582_f8109a06784f 0e6438d3_62ff_1aa6_5ebb_bbf99b70b8d3["getFileName()"] 86423096_f568_0d81_b582_f8109a06784f -->|calls| 0e6438d3_62ff_1aa6_5ebb_bbf99b70b8d3 style 86423096_f568_0d81_b582_f8109a06784f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java lines 128–138
private Set<String> getDuplicates(Set<Artifact> artifacts) {
Set<String> duplicates = new HashSet<>();
Set<String> seen = new HashSet<>();
for (Artifact artifact : artifacts) {
String fileName = getFileName(artifact);
if (artifact.getFile() != null && !seen.add(fileName)) {
duplicates.add(fileName);
}
}
return duplicates;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getDuplicates() do?
getDuplicates() is a function in the spring-boot codebase.
What does getDuplicates() call?
getDuplicates() calls 1 function(s): getFileName.
What calls getDuplicates()?
getDuplicates() is called by 1 function(s): doWithLibraries.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free