f51b3f2682a27e2d47e17f1abebd321effd774fd,src/python/twitter/pants/tasks/scaladoc_gen.py,,create_scaladoc_command,#Any#Any#,36

Before Change


def create_scaladoc_command(classpath, gendir, *targets):
  sources = []
  for target in targets:
    sources.extend(os.path.join(target.target_base, source) for source in target.sources)

  if not sources:
    return None

After Change


def create_scaladoc_command(classpath, gendir, *targets):
  sources = []
  for target in targets:
    sources.extend(target.sources_relative_to_buildroot())

  if not sources:
    return None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: f51b3f2682a27e2d47e17f1abebd321effd774fd
Time: 2014-01-22
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/scaladoc_gen.py
Class Name:
Method Name: create_scaladoc_command


Project Name: pantsbuild/pants
Commit Name: f51b3f2682a27e2d47e17f1abebd321effd774fd
Time: 2014-01-22
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/javadoc_gen.py
Class Name:
Method Name: create_javadoc_command


Project Name: pantsbuild/pants
Commit Name: 38a7d94644d176c8e6c3d412b0f830028fc0e142
Time: 2020-09-02
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/run_setup_py.py
Class Name:
Method Name: get_requirements