f51b3f2682a27e2d47e17f1abebd321effd774fd,src/python/twitter/pants/tasks/specs_run.py,SpecsRun,calculate_tests,#SpecsRun#Any#,104

Before Change


    tests = OrderedSet()
    for target in targets:
      if target.is_scala and target.is_test:
        tests.update(os.path.join(target.target_base, test) for test in target.sources)
    return tests

After Change


    tests = OrderedSet()
    for target in targets:
      if target.is_scala and target.is_test:
        tests.update(target.sources_relative_to_buildroot())
    return tests
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


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


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


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: 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