diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-10-03 15:15:49 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-10-03 15:15:49 -0400 |
commit | 2b2f452d1724b4db9df4c9065b2ad51acdaf4910 (patch) | |
tree | a7bfb5316e1d5229e3c40651f6d4ca097ff6b80e | |
parent | 35b3ff2ba19c8803502a1ed11c194be945171a9e (diff) | |
download | jscu_refactor-2b2f452d1724b4db9df4c9065b2ad51acdaf4910.tar.gz |
Here we go... CPSunmanaged-blob
-rw-r--r-- | src/DataConfig.groovy | 8 |
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() { |