16cefff6021e021ca2efc7d5845424a613c4c839,src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py,RscCompile,_classify_compile_target,#RscCompile#Any#,259

Before Change


    return self._classify_compile_target(target) is not None

  def _classify_compile_target(self, target):
    return _JvmCompileWorkflowType.classify_target(target)

  def _key_for_target_as_dep(self, target, workflow):
    // used for jobs that are either rsc jobs or zinc jobs run against rsc
    return workflow.resolve_for_enum_variant({

After Change


        if flow:
          return _JvmCompileWorkflowType(flow)

    return self._default_workflow.resolve_for_enum_variant({
      "zinc-only": _JvmCompileWorkflowType.zinc_only,
      "guess": _JvmCompileWorkflowType.classify_target(target)
    })

  def _key_for_target_as_dep(self, target, workflow):
    // used for jobs that are either rsc jobs or zinc jobs run against rsc
    return workflow.resolve_for_enum_variant({
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 16cefff6021e021ca2efc7d5845424a613c4c839
Time: 2019-03-15
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: _classify_compile_target


Project Name: pantsbuild/pants
Commit Name: e382541d70c5b57e682dce998d361c96aed4d8e9
Time: 2019-02-12
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: _runtool


Project Name: pantsbuild/pants
Commit Name: e382541d70c5b57e682dce998d361c96aed4d8e9
Time: 2019-02-12
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: get_zinc_compiler_classpath