diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponent.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponent.java index 48b34ecc22f1cd356135ed873567529ee5fa0e45..f43193785e47381012b2f8ca3db52282f289e199 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponent.java +++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/client/api/v1/impl/DssComponent.java @@ -18,6 +18,7 @@ package ch.systemsx.cisd.openbis.dss.client.api.v1.impl; import java.io.File; import java.io.FileInputStream; +import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -61,8 +62,6 @@ import ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.validation.ValidationE import ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.validation.ValidationScriptRunner; import ch.systemsx.cisd.openbis.generic.shared.api.v1.IGeneralInformationService; -import de.schlichtherle.io.FileOutputStream; - /** * Implementation of the IDssComponent interface. It is a facade for interacting with openBIS and * multiple DSS servers. @@ -233,7 +232,7 @@ public class DssComponent implements IDssComponent { state.putFileToSessionWorkspace(filePath, inputStream); } - + @Override public void putFileToSessionWorkspace(String directory, File file) throws IOExceptionUnchecked { @@ -501,7 +500,7 @@ class AuthenticatedState extends AbstractDssComponentState final IDssServiceRpcGeneric dssService = getServiceForPutDataStore(); dssService.putFileToSessionWorkspace(sessionToken, filePath, inputStream); } - + @Override public void putFileToSessionWorkspace(String directory, File file) throws IOExceptionUnchecked {