7fb7c83177ac7f6f41efd18abb3c7d57121327a0,src/python/pants/backend/jvm/targets/jvm_binary.py,JarRules,fingerprint,#JarRules#,239

Before Change


    hasher = sha1()
    hasher.update(self.payload.fingerprint())
    for rule in self.rules:
      hasher.update(rule.fingerprint())
    return hasher.hexdigest() if PY3 else hasher.hexdigest().decode("utf-8")

  @property

After Change


    hasher = sha1()
    hasher.update(self.payload.fingerprint().encode("utf-8"))
    for rule in self.rules:
      hasher.update(rule.fingerprint().encode("utf-8"))
    return hasher.hexdigest() if PY3 else hasher.hexdigest().decode("utf-8")

  @property
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 7fb7c83177ac7f6f41efd18abb3c7d57121327a0
Time: 2018-08-20
Author: ericarellano@me.com
File Name: src/python/pants/backend/jvm/targets/jvm_binary.py
Class Name: JarRules
Method Name: fingerprint


Project Name: pantsbuild/pants
Commit Name: 3be90c2f31a419ef96c65434d17c99b4a56043ef
Time: 2018-08-07
Author: ericarellano@me.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: 3be90c2f31a419ef96c65434d17c99b4a56043ef
Time: 2018-08-07
Author: ericarellano@me.com
File Name: src/python/pants/backend/jvm/tasks/coursier_resolve.py
Class Name: CoursierResolveFingerprintStrategy
Method Name: compute_fingerprint


Project Name: pantsbuild/pants
Commit Name: 3be90c2f31a419ef96c65434d17c99b4a56043ef
Time: 2018-08-07
Author: ericarellano@me.com
File Name: src/python/pants/backend/jvm/subsystems/dependency_context.py
Class Name: ResolvedJarAwareFingerprintStrategy
Method Name: compute_fingerprint


Project Name: pantsbuild/pants
Commit Name: aad3a3caf0a01c7daeda5822b3f2661de7475379
Time: 2018-08-10
Author: dawagner@gmail.com
File Name: src/python/pants/option/options_fingerprinter.py
Class Name: OptionsFingerprinter
Method Name: combined_options_fingerprint_for_scope


Project Name: pantsbuild/pants
Commit Name: 3be90c2f31a419ef96c65434d17c99b4a56043ef
Time: 2018-08-07
Author: ericarellano@me.com
File Name: src/python/pants/backend/jvm/tasks/unpack_jars.py
Class Name: UnpackJarsFingerprintStrategy
Method Name: compute_fingerprint