|
|
|
@ -100,9 +100,15 @@ public class OssSubmitTarget implements XMLable {
|
|
|
|
|
public Object clone() throws CloneNotSupportedException { |
|
|
|
|
OssSubmitTarget cloned = (OssSubmitTarget) super.clone(); |
|
|
|
|
cloned.bucket = bucket; |
|
|
|
|
cloned.directory = (OssVariableValue) directory.clone(); |
|
|
|
|
cloned.name = (OssVariableValue) name.clone(); |
|
|
|
|
cloned.file = (OssVariableValue) file.clone(); |
|
|
|
|
if (directory != null) { |
|
|
|
|
cloned.directory = (OssVariableValue) directory.clone(); |
|
|
|
|
} |
|
|
|
|
if (name != null) { |
|
|
|
|
cloned.name = (OssVariableValue) name.clone(); |
|
|
|
|
} |
|
|
|
|
if (file != null) { |
|
|
|
|
cloned.file = (OssVariableValue) file.clone(); |
|
|
|
|
} |
|
|
|
|
return cloned; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|