Skip to content
Snippets Groups Projects
Commit db4bf7b9 authored by tpylak's avatar tpylak
Browse files

minor: better error message, remove unused code

SVN: 15856
parent c0449893
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,9 @@ public abstract class AbstractArchiverProcessingPlugin extends AbstractDatastore
unarchive(dataset);
} catch (UserFailureException ex)
{
return Status.createError(ex.getMessage());
return Status
.createError(ex.getMessage() == null ? "unknown reason"
: ex.getMessage());
}
return Status.OK;
}
......
......@@ -22,7 +22,6 @@ import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.remoting.RemoteAccessException;
import ch.rinn.restrictions.Private;
import ch.systemsx.cisd.base.exceptions.InterruptedExceptionUnchecked;
import ch.systemsx.cisd.common.TimingParameters;
import ch.systemsx.cisd.common.collections.CollectionUtils;
......@@ -60,9 +59,6 @@ public class QueueingDataSetStatusUpdaterService
private static final int INITIAL_RECORD_SIZE = 128;
@Private
final static String UPDATER_PREFIX = ".UPDATER_";
private static IExtendedBlockingQueue<DataSetCodesWithStatus> queue = null;
private static ICloseable queueCloseableOrNull = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment