aboutsummaryrefslogtreecommitdiff
path: root/vars/utils.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'vars/utils.groovy')
-rw-r--r--vars/utils.groovy12
1 files changed, 6 insertions, 6 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index c2f0b47..1def2c6 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -105,16 +105,16 @@ def concurrent(configs) {
* This method makes a "deep clone" of any object it is given.
*/
def deepClone(object) {
- try {
+ //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
- }
+ //}
+ //catch (Exception e) {
+ // e.printStackTrace()
+ // return null
+ //}
}