fedc91cb2e1455b7a8dca9c843bbd8b553a04241,src/python/pants/backend/codegen/wire/java/wire_gen.py,WireGen,format_args_for_target,#WireGen#Any#Any#,64

Before Change


    Calculate the arguments to pass to the command line for a single target.
    sources = OrderedSet(target.sources_relative_to_buildroot())

    relative_sources = OrderedSet()
    source_roots = set()
    for source in sources:
      source_root = self.context.source_roots.find_by_path(source)
      if not source_root:

After Change



    // Add all params in payload to args

    relative_sources, source_roots = self._compute_sources(target)

    if target.payload.get_field_value("no_options"):
      args.append("--no_options")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: fedc91cb2e1455b7a8dca9c843bbd8b553a04241
Time: 2019-02-15
Author: stuhood@twitter.com
File Name: src/python/pants/backend/codegen/wire/java/wire_gen.py
Class Name: WireGen
Method Name: format_args_for_target


Project Name: pantsbuild/pants
Commit Name: 63cc6f44cf3824385f0d69e2a2570d8340fdc297
Time: 2015-07-06
Author: hellomind@gmail.com
File Name: src/python/pants/base/build_graph.py
Class Name:
Method Name: sort_targets


Project Name: pantsbuild/pants
Commit Name: c9cdaeaa5e86f6632f9579441edae2aa3433bf40
Time: 2015-06-29
Author: hellomind@gmail.com
File Name: src/python/pants/base/build_graph.py
Class Name:
Method Name: sort_targets


Project Name: pantsbuild/pants
Commit Name: aa23024157360be890e9c50368ff54ca05ef7218
Time: 2019-05-18
Author: stuhood@gmail.com
File Name: src/python/pants/goal/context.py
Class Name: Context
Method Name: targets


Project Name: pantsbuild/pants
Commit Name: fb30d2db66b95d2bb602cbaae60037c18d2710b6
Time: 2015-12-01
Author: wangpeiyu@gmail.com
File Name: src/python/pants/task/task.py
Class Name: TaskBase
Method Name: do_check_artifact_cache


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