aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-11-30 10:48:02 -0500
committerMatt Rendina <mrendina@stsci.edu>2017-11-30 10:48:02 -0500
commiteaf163f77eecce3a68da9d14f7b5044ace21781e (patch)
treeba23d3eaa9398cdd922421eb382ea40719ce283d
parent59c8efa7ea37643b4630f341644d7dacfddd9bd0 (diff)
downloadjscu_refactor-eaf163f77eecce3a68da9d14f7b5044ace21781e.tar.gz
Trim down
-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
+ //}
}