694ad841ca4521a0996cd856c74a955405904443,src/python/twitter/pants/tasks/nailgun_task.py,NailgunTask,runjava,#NailgunTask#Any#Any#Any#Any#,96
Before Change
self._ng_shutdown()
raise e
else:
return binary_utils.runjava(main=main, classpath=cp, args=args, jvmargs=jvmargs)
def _ng_shutdown(self):
endpoint = self._get_nailgun_endpoint()
if endpoint:
After Change
self._ng_shutdown()
raise e
else:
only_write_cmd_line_to = StringIO.StringIO() if self.dry_run else None
ret = binary_utils.runjava(main=main, classpath=cp, args=args, jvmargs=jvmargs,
only_write_cmd_line_to=only_write_cmd_line_to)
if only_write_cmd_line_to:
print("********** Direct Java dry run: %s" % only_write_cmd_line_to.getvalue())
only_write_cmd_line_to.close()
return ret
def _ng_shutdown(self):
endpoint = self._get_nailgun_endpoint()
if endpoint:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: pantsbuild/pants
Commit Name: 694ad841ca4521a0996cd856c74a955405904443
Time: 2012-10-23
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/nailgun_task.py
Class Name: NailgunTask
Method Name: runjava
Project Name: studioml/studio
Commit Name: 514e97adf46aa0cad330d44ae820a793c6a1e308
Time: 2017-06-06
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name:
Method Name: _remove_backspaces
Project Name: pantsbuild/pants
Commit Name: b8ce9665bce043f79e200bfd3c35effdbf479ebb
Time: 2012-10-10
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/nailgun_task.py
Class Name: NailgunTask
Method Name: runjava