GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
DependencyGraphResult.toClassPathResult
Open
p3
Tech Debt
- Dominant language
- Java
- Stars
- 163
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
ClassPathBuilder and LinkageCheckerRule both have code to convert a DependencyGraphResult into a ClassPathResult. (Find this code by seeing who calls the ClassPathResult constructor outside of tests.)
Instead DependencyGraphResult should have a toClassPathResult method that returns a classpath for the graph.
P.S. There shouldn't be any "Result" classes. Just ClassPath and DependencyGraph.
Contributor guide
Assessment
This issue has not been assessed yet.