Skip to content

Commit

Permalink
Register Timestamp Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jan 29, 2018
1 parent 13cd178 commit b58108c
Showing 1 changed file with 4 additions and 14 deletions.
Expand Up @@ -27,20 +27,7 @@
import ch.cyberduck.core.URIEncoder;
import ch.cyberduck.core.UrlProvider;
import ch.cyberduck.core.exception.BackgroundException;
import ch.cyberduck.core.features.AttributesFinder;
import ch.cyberduck.core.features.Copy;
import ch.cyberduck.core.features.Delete;
import ch.cyberduck.core.features.Directory;
import ch.cyberduck.core.features.Find;
import ch.cyberduck.core.features.Home;
import ch.cyberduck.core.features.Move;
import ch.cyberduck.core.features.MultipartWrite;
import ch.cyberduck.core.features.PromptUrlProvider;
import ch.cyberduck.core.features.Quota;
import ch.cyberduck.core.features.Read;
import ch.cyberduck.core.features.Search;
import ch.cyberduck.core.features.Touch;
import ch.cyberduck.core.features.Write;
import ch.cyberduck.core.features.*;
import ch.cyberduck.core.http.HttpSession;
import ch.cyberduck.core.oauth.OAuth2ErrorResponseInterceptor;
import ch.cyberduck.core.oauth.OAuth2RequestInterceptor;
Expand Down Expand Up @@ -208,6 +195,9 @@ public <T> T _getFeature(final Class<T> type) {
if(type == Search.class) {
return (T) new OneDriveSearchFeature(this);
}
if(type == Timestamp.class) {
return (T) new OneDriveTimestampFeature(this);
}
return super._getFeature(type);
}
}

0 comments on commit b58108c

Please sign in to comment.