e6fca77674554e516cfb358d1b395986acd3f7e7,src/python/pants/java/distribution/distribution.py,DistributionLocator,cached,#Any#Any#Any#Any#,397
Before Change
// take the tighter constraint of method args and subsystem options
minimum_version = _get_stricter_version(minimum_version,
cls.global_instance().get_options().minimum_version,
"minimum_version",
max)
maximum_version = _get_stricter_version(maximum_version,
cls.global_instance().get_options().maximum_version,
"maximum_version",
min)
key = (minimum_version, maximum_version, jdk)
dist = cls._CACHE.get(key)
if not dist:
dist = cls._scan_constraint_match(minimum_version, maximum_version, jdk)
if not dist:
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"
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: pantsbuild/pants
Commit Name: 05d7240153788a0d35c514ac9942a8a87ed6e1ef
Time: 2017-11-08
Author: cheister@gmail.com
File Name: contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py
Class Name: JaxWsGen
Method Name: execute_codegen
Project Name: pantsbuild/pants
Commit Name: 8aa92e2294f757f44c7241be0d7efc9326839c88
Time: 2015-03-18
Author: nhoward@twopensource.com
File Name: src/python/pants/backend/jvm/tasks/jar_publish.py
Class Name: JarPublish
Method Name: execute