aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-10-03 15:15:49 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-10-03 15:15:49 -0400
commit2b2f452d1724b4db9df4c9065b2ad51acdaf4910 (patch)
treea7bfb5316e1d5229e3c40651f6d4ca097ff6b80e
parent35b3ff2ba19c8803502a1ed11c194be945171a9e (diff)
downloadjscu_refactor-2b2f452d1724b4db9df4c9065b2ad51acdaf4910.tar.gz
Here we go... CPSunmanaged-blob
-rw-r--r--src/DataConfig.groovy8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DataConfig.groovy b/src/DataConfig.groovy
index 666360c..37adf88 100644
--- a/src/DataConfig.groovy
+++ b/src/DataConfig.groovy
@@ -14,10 +14,10 @@ class DataConfig implements Serializable {
DataConfig(String direction = "upload") {
this.direction = direction.toLowerCase()
- if (!this.isUpload() && !this.isDownload()) {
- throw new Exception("DataConfig.direction argument must be 'upload'"
- + "or 'download' (got: ${this.direction})")
- }
+ //if (!this.isUpload() && !this.isDownload()) {
+ // throw new Exception("DataConfig.direction argument must be 'upload'"
+ // + "or 'download' (got: ${this.direction})")
+ //}
}
def isUpload() {