aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-11-30 11:10:30 -0500
committerMatt Rendina <mrendina@stsci.edu>2017-11-30 11:10:30 -0500
commit73378bef9b5d9b7aaef91d77a584a1c244ec9b64 (patch)
treea1ced9a81a16712bbd15cab55f83a5c3ef477af5
parent86179f6ede2b4108dd0a489a739eebada107be67 (diff)
downloadjscu_refactor-73378bef9b5d9b7aaef91d77a584a1c244ec9b64.tar.gz
Clean out
-rw-r--r--vars/utils.groovy18
1 files changed, 0 insertions, 18 deletions
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()