63fc8edec927e417dbb8b75468d090d4d688c3f7,src/python/pants/backend/jvm/targets/jar_dependency.py,JarDependency,__hash__,#JarDependency#,210

Before Change


    return result

  def __hash__(self):
    return hash((self.org, self.name, self.rev))

  def __lt__(self, other):
    return (self.org, self.name, self.rev) < (other.org, other.name, other.rev)

After Change


  def __eq__(self, other):
    return self._coordinates == other._coordinates

  def __hash__(self):
    return hash(self._coordinates)

  def __lt__(self, other):
    return self._coordinates < other._coordinates
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: pantsbuild/pants
Commit Name: 63fc8edec927e417dbb8b75468d090d4d688c3f7
Time: 2015-04-06
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/jvm/targets/jar_dependency.py
Class Name: JarDependency
Method Name: __hash__


Project Name: pantsbuild/pants
Commit Name: 322d5ac65aa3e7b31cd9bfa1fcf3bc2cc16bc285
Time: 2015-09-14
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/jvm/jar_dependency_utils.py
Class Name: ResolvedJar
Method Name: __hash__


Project Name: pantsbuild/pants
Commit Name: 322d5ac65aa3e7b31cd9bfa1fcf3bc2cc16bc285
Time: 2015-09-14
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/jvm/ivy_utils.py
Class Name: IvyModuleRef
Method Name: __hash__


Project Name: pantsbuild/pants
Commit Name: 63fc8edec927e417dbb8b75468d090d4d688c3f7
Time: 2015-04-06
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/jvm/targets/jar_dependency.py
Class Name: JarDependency
Method Name: __hash__