be315f9e0e4c454474162f258404894f439abb82,src/python/twitter/pants/tasks/jvm_dependency_analyzer.py,JvmDependencyAnalyzer,get_transitive_deps_by_target,#JvmDependencyAnalyzer#,73

Before Change


      return self._transitive_deps_by_target

    // Sort from least to most dependent.
    sorted_targets = reversed(InternalTarget.sort_targets(self._context.targets()))
    transitive_deps_by_target = defaultdict(set)
    // Iterate in dep order, to accumulate the transitive deps for each target.
    for target in sorted_targets:

After Change


    and injected deps are taken into account.
    
    if self._transitive_deps_by_target is None:
      return self._compute_transitive_deps_by_target()
    else:
      return self._transitive_deps_by_target

  def _compute_transitive_deps_by_target(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: be315f9e0e4c454474162f258404894f439abb82
Time: 2013-11-25
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/jvm_dependency_analyzer.py
Class Name: JvmDependencyAnalyzer
Method Name: get_transitive_deps_by_target


Project Name: pantsbuild/pants
Commit Name: 45e4e6bb334e4b82b61c126f84c5d13e04dcbbf5
Time: 2016-10-24
Author: wisechengyi@gmail.com
File Name: src/python/pants/backend/python/tasks/python_isort.py
Class Name: IsortPythonTask
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 671834e0cfc5a73a6d5e4689e9200a824cbacc58
Time: 2015-09-15
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/tasks/task_test_base.py
Class Name: ConsoleTaskTestBase
Method Name: execute_console_task


Project Name: pantsbuild/pants
Commit Name: df28767b5abc4b8cbaa444046cec0dbf179ca713
Time: 2019-03-30
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/task/testrunner_task_mixin.py
Class Name: TestRunnerTaskMixin
Method Name: _get_targets