Guest User

Untitled

a guest
Oct 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. @Override
  3. public boolean hasDependency(final Dependency dep)
  4. {
  5. List<DependencyResource> deps = resolver.resolveDependencies(dep);
  6. for (DependencyResource dependencyResource : deps)
  7. {
  8. if (areEquivalent(dependencyResource.getDependency(), dep))
  9. {
  10. return true;
  11. }
  12. }
  13. return false;
  14. }
Add Comment
Please, Sign In to add comment