Skip to content

Commit

Permalink
analizators/U2U1006
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Jan 10, 2022
1 parent c43f244 commit d9619e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions common/services/ASC.ElasticSearch/Engine/FactoryIndexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,9 @@ public bool Support(T t)
}
}

public async Task<bool> SupportAsync(T t)
public Task<bool> SupportAsync(T t)
{
return await FactoryIndexerCommon.CheckStateAsync();
return FactoryIndexerCommon.CheckStateAsync();
}
}

Expand Down
8 changes: 4 additions & 4 deletions products/ASC.Files/Core/Core/Dao/TeamlabDao/FileDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ public Stream GetFileStream(File<int> file)
{
return GetFileStream(file, 0);
}
public async Task<Stream> GetFileStreamAsync(File<int> file)
public Task<Stream> GetFileStreamAsync(File<int> file)
{
return await GlobalStore.GetStore().GetReadStreamAsync(string.Empty, GetUniqFilePath(file), 0);
return GlobalStore.GetStore().GetReadStreamAsync(string.Empty, GetUniqFilePath(file), 0);
}

public File<int> SaveFile(File<int> file, Stream fileStream)
Expand Down Expand Up @@ -1157,9 +1157,9 @@ public bool IsExistOnStorage(File<int> file)
return GlobalStore.GetStore().IsFile(GetUniqFilePath(file));
}

public async Task<bool> IsExistOnStorageAsync(File<int> file)
public Task<bool> IsExistOnStorageAsync(File<int> file)
{
return await GlobalStore.GetStore().IsFileAsync(string.Empty, GetUniqFilePath(file));
return GlobalStore.GetStore().IsFileAsync(string.Empty, GetUniqFilePath(file));
}

private const string DiffTitle = "diff.zip";
Expand Down

0 comments on commit d9619e1

Please sign in to comment.