a2a2fb58a85df802b4a8203e0b44ee4c3fc80161,src/python/pants/backend/jvm/tasks/ivy_task_mixin.py,IvyResolveFingerprintStrategy,compute_fingerprint,#IvyResolveFingerprintStrategy#Any#,35

Before Change


    elif isinstance(target, JvmTarget):
      return target.payload.fingerprint(field_keys=("excludes", "configurations"))
    else:
      return sha1().hexdigest()

  def __hash__(self):
    return hash(type(self))

After Change


    if isinstance(target, JarLibrary):
      return target.payload.fingerprint()
    elif isinstance(target, JvmTarget):
      if target.payload.excludes or target.payload.configurations:
        return target.payload.fingerprint(field_keys=("excludes", "configurations"))
      else:
        return None
    else:
      return None

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

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: a2a2fb58a85df802b4a8203e0b44ee4c3fc80161
Time: 2015-01-13
Author: pl@foursquare.com
File Name: src/python/pants/backend/jvm/tasks/ivy_task_mixin.py
Class Name: IvyResolveFingerprintStrategy
Method Name: compute_fingerprint


Project Name: pantsbuild/pants
Commit Name: bc03a98e3086793af25f0ce5fde068932052344d
Time: 2016-02-16
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/jvm/tasks/ivy_task_mixin.py
Class Name: IvyResolveFingerprintStrategy
Method Name: compute_fingerprint


Project Name: horovod/horovod
Commit Name: c7dfdcef44d181ee2b834e3b0fb06c9c82f952b3
Time: 2019-11-20
Author: github@enrico.minack.dev
File Name: horovod/run/common/util/host_hash.py
Class Name:
Method Name: host_hash