From 73378bef9b5d9b7aaef91d77a584a1c244ec9b64 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Thu, 30 Nov 2017 11:10:30 -0500 Subject: Clean out --- vars/utils.groovy | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'vars/utils.groovy') diff --git a/vars/utils.groovy b/vars/utils.groovy index 98bacf5..60b76c9 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -101,24 +101,6 @@ def concurrent(configs) { } //end concurrent -///** -// * This method makes a "deep clone" of any object it is given. -// */ -//def deepClone(object) { -// //try { -// ByteArrayOutputStream baos = new ByteArrayOutputStream() -// ObjectOutputStream oos = new ObjectOutputStream(baos) -// oos.writeObject(object) -// ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()) -// ObjectInputStream ois = new ObjectInputStream(bais) -// return ois.readObject() -// //} -// //catch (Exception e) { -// // e.printStackTrace() -// // return null -// //} -//} - // standard deep copy implementation def deepcopy(orig) { bos = new ByteArrayOutputStream() -- cgit