Skip to content

Commit

Permalink
remove unused method (bazelbuild#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
ittaiz authored and Andre Rocha committed Jul 6, 2020
1 parent 448d252 commit d4362a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scala/private/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@ def _collect_jars_when_dependency_analyzer_is_on(dep_targets):
def not_sources_jar(name):
return "-sources.jar" not in name

def filter_not_sources(deps):
return depset(
[dep for dep in deps.to_list() if not_sources_jar(dep.basename)],
)

def add_labels_of_jars_to(jars2labels, dependency, all_jars, direct_jars):
for jar in direct_jars:
jars2labels[jar.path] = dependency.label
Expand Down

0 comments on commit d4362a5

Please sign in to comment.