[Swift-commit] cog r3767
swift at ci.uchicago.edu
swift at ci.uchicago.edu
Mon Aug 26 02:05:03 CDT 2013
------------------------------------------------------------------------
r3767 | hategan | 2013-08-26 02:02:21 -0500 (Mon, 26 Aug 2013) | 1 line
fix NPE when destination directory is null
------------------------------------------------------------------------
Index: modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/FileTransferSpecificationImpl.java
===================================================================
--- modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/FileTransferSpecificationImpl.java (revision 3766)
+++ modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/FileTransferSpecificationImpl.java (working copy)
@@ -64,7 +64,9 @@
}
public void setDestinationDirectory(String directory) {
- this.destinationDirectory = directory.trim();
+ if (directory != null) {
+ this.destinationDirectory = directory.trim();
+ }
}
public String getDestinationDirectory() {
More information about the Swift-commit
mailing list