File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
cryptomator/src/main/java/ch/cyberduck/core/cryptomator Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616 */
1717
1818import ch .cyberduck .core .PathAttributes ;
19+ import ch .cyberduck .core .exception .BackgroundException ;
20+ import ch .cyberduck .core .features .Vault ;
1921import ch .cyberduck .core .io .StreamCancelation ;
2022import ch .cyberduck .core .io .StreamProgress ;
2123import ch .cyberduck .core .transfer .ProxyTransferStatus ;
2729public class CryptoTransferStatus extends ProxyTransferStatus implements StreamCancelation , StreamProgress {
2830 private static final Logger log = LogManager .getLogger (CryptoTransferStatus .class );
2931
30- private final AbstractVault vault ;
32+ private final Vault vault ;
3133
32- public CryptoTransferStatus (final AbstractVault vault , final TransferStatus proxy ) {
34+ public CryptoTransferStatus (final Vault vault , final TransferStatus proxy ) {
3335 super (proxy );
3436 this .vault = vault ;
3537 this .setLength (vault .toCiphertextSize (proxy .getOffset (), proxy .getLength ()))
@@ -44,7 +46,7 @@ public TransferStatus setResponse(final PathAttributes attributes) {
4446 attributes .setSize (vault .toCleartextSize (0L , attributes .getSize ()));
4547 super .setResponse (attributes );
4648 }
47- catch (CryptoInvalidFilesizeException e ) {
49+ catch (BackgroundException e ) {
4850 log .warn ("Failure {} translating file size from response {}" , e , attributes );
4951 }
5052 return this ;
You can’t perform that action at this time.
0 commit comments