461bb39fbdd9f49ff21a6be038ffbd2e7ae622b0,src/python/pants/backend/android/tasks/dx_compile.py,DxCompile,execute,#DxCompile#,79

Before Change


          invalid_targets.extend(vt.targets)
        for target in invalid_targets:
          outdir = self.dx_out(target)
          safe_mkdir(outdir)
          classes_by_target = self.context.products.get_data("classes_by_target")
          classes = []

          def add_to_dex(tgt):

After Change


        if not vt.valid:
          classes = self._gather_classes(vt.target)
          if not classes:
            raise self.EmptyDexError("No classes were found for {}.".format(vt.target))

          args = self._render_args(vt.results_dir, classes)
          self._compile_dex(args, vt.target.build_tools_version)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pantsbuild/pants
Commit Name: 461bb39fbdd9f49ff21a6be038ffbd2e7ae622b0
Time: 2015-07-30
Author: mateorod9@gmail.com
File Name: src/python/pants/backend/android/tasks/dx_compile.py
Class Name: DxCompile
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 1ae352138a76085f32967e4587495654c32c06f5
Time: 2016-01-04
Author: wangpeiyu@gmail.com
File Name: src/python/pants/backend/jvm/tasks/classpath_util.py
Class Name: ClasspathUtil
Method Name: create_canonical_classpath


Project Name: pantsbuild/pants
Commit Name: 136206c62ff375644ac5f0b76f619d049ecd34e0
Time: 2016-01-08
Author: wangpeiyu@gmail.com
File Name: src/python/pants/backend/jvm/tasks/bundle_create.py
Class Name: BundleCreate
Method Name: consolidate_classpath