Skip to content

Commit

Permalink
Fix #15771.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Mar 27, 2024
1 parent 14125a7 commit 82aceb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -74,7 +74,7 @@ public VersioningMode getVersioningMode() {
@Override
public <T> T getFeature(final Class<T> type) {
if(type == ComparisonService.class) {
return (T) new DefaultComparisonService(new ETagComparisonService(), new ETagComparisonService());
return (T) new DefaultComparisonService(DefaultComparisonService.forFiles(this), new ETagComparisonService());
}
if(type == CredentialsConfigurator.class) {
return (T) new WindowsIntegratedCredentialsConfigurator();
Expand Down
Expand Up @@ -74,7 +74,7 @@ public VersioningMode getVersioningMode() {
@Override
public <T> T getFeature(final Class<T> type) {
if(type == ComparisonService.class) {
return (T) new DefaultComparisonService(new ETagComparisonService(), new ETagComparisonService());
return (T) new DefaultComparisonService(DefaultComparisonService.forFiles(this), new ETagComparisonService());
}
if(type == CredentialsConfigurator.class) {
return (T) new WindowsIntegratedCredentialsConfigurator();
Expand Down

0 comments on commit 82aceb3

Please sign in to comment.