aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-11-30 11:32:04 -0500
committerMatt Rendina <mrendina@stsci.edu>2017-11-30 11:32:04 -0500
commit775fe39d36796cdd3f57b1156fa047700d2162b3 (patch)
tree06b7cd33af9db924fe695a1c7208e64885e27f2e
parent9af384444bc71487b048504bd84e7b7eca992dcf (diff)
downloadjscu_refactor-775fe39d36796cdd3f57b1156fa047700d2162b3.tar.gz
Relocate
-rw-r--r--vars/utils.groovy11
1 files changed, 0 insertions, 11 deletions
diff --git a/vars/utils.groovy b/vars/utils.groovy
index 60b76c9..fe76bca 100644
--- a/vars/utils.groovy
+++ b/vars/utils.groovy
@@ -99,14 +99,3 @@ def concurrent(configs) {
parallel(tasks)
}
} //end concurrent
-
-
-// standard deep copy implementation
-def deepcopy(orig) {
- bos = new ByteArrayOutputStream()
- oos = new ObjectOutputStream(bos)
- oos.writeObject(orig); oos.flush()
- bin = new ByteArrayInputStream(bos.toByteArray())
- ois = new ObjectInputStream(bin)
- return ois.readObject()
-}