e6fca77674554e516cfb358d1b395986acd3f7e7,src/python/pants/java/distribution/distribution.py,DistributionLocator,cached,#Any#Any#Any#Any#,397

Before Change


        dist = cls.locate(minimum_version=minimum_version,
                          maximum_version=maximum_version,
                          jdk=jdk)
      cls._CACHE[key] = dist
    return dist

  @classmethod

After Change


                                   maximum_version=maximum_version,
                                   jdk=jdk)
    except _Locator.Error as e:
      raise cls.Error("Problem locating a java distribution: {}".format(e))

  options_scope = "jvm-distributions"

  @classmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: e6fca77674554e516cfb358d1b395986acd3f7e7
Time: 2016-05-02
Author: john.sirois@gmail.com
File Name: src/python/pants/java/distribution/distribution.py
Class Name: DistributionLocator
Method Name: cached


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: df4ac0ed8a1f42b864b49d45056ad8dc95b3510c
Time: 2015-12-08
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: Attach


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 874170dad8d905dcae3513b7a9cf7f95803480a2
Time: 2015-12-03
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: Attach