05d7240153788a0d35c514ac9942a8a87ed6e1ef,contrib/jax_ws/src/python/pants/contrib/jax_ws/tasks/jax_ws_gen.py,JaxWsGen,execute_codegen,#JaxWsGen#Any#Any#,48

Before Change


      result = self.runjava(
        classpath=classpath,
        main="com.sun.tools.internal.ws.WsImport",
        jvm_options=self.get_options().jvm_options,
        args=args,
        workunit_name="wsimport")
      if result != 0:

After Change


      wsimport_cmd = self._build_wsimport_cmd(target, target_workdir, url)
      with self.context.new_workunit(name="wsimport",
                                     cmd=" ".join(wsimport_cmd),
                                     labels=[WorkUnitLabel.TOOL]) as workunit:
        self.context.log.debug("Executing {}".format(" ".join(wsimport_cmd)))
        return_code = subprocess.Popen(wsimport_cmd,
                                       stdout=workunit.output("stdout"),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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: d66b4450036814567c2c87a944b55383fef761c6
Time: 2020-03-05
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/tasks/python_repl.py
Class Name: PythonRepl
Method Name: extra_requirements


Project Name: pantsbuild/pants
Commit Name: d45af2806326ee71c8f163daea6c0512b58fadd2
Time: 2019-07-28
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py
Class Name: BaseZincCompile
Method Name: _compile_hermetic