d0717e9c8f16ad5ddfae5ceee4389d874a463263,src/python/pants/backend/codegen/tasks/wire_gen.py,WireGen,calculate_java_genfiles,#WireGen#Any#Any#,186

Before Change



  def calculate_java_genfiles(self, package, types):
    basepath = package.replace(".", "/")
    for type_ in types:
      filename = os.path.join(basepath, "{0}.java".format(type_))
      logger.debug("Expecting {filename} from type {type_}".format(filename=filename, type_=type_))
      yield filename

After Change



  def calculate_java_genfiles(self, package, types):
    basepath = package.replace(".", "/")
    return [os.path.join(basepath, "{0}.java".format(t)) for t in types]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 7

Instances


Project Name: pantsbuild/pants
Commit Name: d0717e9c8f16ad5ddfae5ceee4389d874a463263
Time: 2015-05-29
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/backend/codegen/tasks/wire_gen.py
Class Name: WireGen
Method Name: calculate_java_genfiles


Project Name: GPflow/GPflow
Commit Name: 601aee254c46a69c4d27e8bd8dea03021b40d961
Time: 2017-11-10
Author: art.art.v@gmail.com
File Name: gpflow/params/parameterized.py
Class Name: Parameterized
Method Name: trainable_tensors


Project Name: home-assistant/home-assistant
Commit Name: 5f4ddfe92c6922d3bb87ce6c418163f48426e44b
Time: 2013-09-20
Author: Paulus@PaulusSchoutsen.nl
File Name: app/DeviceTracker.py
Class Name: DeviceTracker
Method Name: device_state_categories


Project Name: foxbook/atap
Commit Name: fcbec86ccf658ad53011666497bb1c9bb943cf0d
Time: 2018-10-29
Author: benjamin@bengfort.com
File Name: snippets/ch03/preprocess.py
Class Name: Preprocessor
Method Name: transform


Project Name: open-mmlab/mmdetection
Commit Name: 55a4023cc13997edb89384227305bfe1683fd859
Time: 2020-05-31
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/models/detectors/base.py
Class Name: BaseDetector
Method Name: extract_feats


Project Name: home-assistant/home-assistant
Commit Name: 5f4ddfe92c6922d3bb87ce6c418163f48426e44b
Time: 2013-09-20
Author: Paulus@PaulusSchoutsen.nl
File Name: app/StateMachine.py
Class Name: StateMachine
Method Name: get_states