52c5ae6120c81e17065ca0e1a71d5af0f3853080,src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py,RscCompile,_rsc_compilable,#RscCompile#Any#,219

Before Change


    return isinstance(target, JarLibrary)

  def _rsc_compilable(self, target):
    return target.has_sources(".scala")

  def _only_zinc_compileable(self, target):
    return target.has_sources(".java")

After Change


    return isinstance(target, JarLibrary)

  def _rsc_compilable(self, target):
    return target.has_sources(".scala") and not target.has_sources(".java")

  def _only_zinc_compileable(self, target):
    return target.has_sources(".java")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 52c5ae6120c81e17065ca0e1a71d5af0f3853080
Time: 2018-11-16
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: _rsc_compilable


Project Name: pantsbuild/pants
Commit Name: df282d3aa0f34e33fa5f0a2eeb4b1a1fb36093fe
Time: 2014-02-07
Author: jsirois@twitter.com
File Name: src/python/twitter/pants/tasks/scalastyle.py
Class Name: Scalastyle
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: 0b329f36a741214304da0c4fc8eb898c2d702711
Time: 2015-08-11
Author: dturner@twopensource.com
File Name: src/python/pants/backend/project_info/tasks/filedeps.py
Class Name: FileDeps
Method Name: console_output