eac5ecf8d3ca723865405599c764765306f78288,src/python/pants/backend/jvm/tasks/classpath_util.py,ClasspathUtil,compute_classpath,#Any#Any#Any#Any#Any#,21
Before Change
:rtype: list of string
classpath_iter = cls._classpath_iter(targets, classpath_products, confs=confs)
total_classpath = OrderedSet(classpath_iter)
filtered_extra_classpath_iter = cls._filtered_classpath_by_confs_iter(extra_classpath_tuples,
confs)
extra_classpath_iter = cls._entries_iter(filtered_extra_classpath_iter)
total_classpath.update(extra_classpath_iter)
return list(total_classpath)
@classmethod
def classpath(cls, targets, classpath_products, confs=("default",)):
After Change
As compute_classpath_entries but expects and returns strings, not ClasspathEntries.
return list(
entry.path for entry in
cls.compute_classpath_entries(
targets,
classpath_products,
((scope, ClasspathEntry(path)) for scope, path in extra_classpath_tuples),
confs
)
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: pantsbuild/pants
Commit Name: eac5ecf8d3ca723865405599c764765306f78288
Time: 2018-08-06
Author: dawagner@gmail.com
File Name: src/python/pants/backend/jvm/tasks/classpath_util.py
Class Name: ClasspathUtil
Method Name: compute_classpath
Project Name: pantsbuild/pants
Commit Name: 7e48e0aad8d93f47e78a76dcb65c929e36020801
Time: 2014-10-08
Author: tejal29@gmail.com
File Name: src/python/pants/goal/context.py
Class Name: Context
Method Name: targets
Project Name: pantsbuild/pants
Commit Name: 43ffe73ada2fcbc2571172193c30b906d2de944f
Time: 2019-12-21
Author: blorente@users.noreply.github.com
File Name: src/python/pants/backend/project_info/tasks/export_dep_as_jar.py
Class Name: ExportDepAsJar
Method Name: _process_target