1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 23:27:25 +08:00

Remove weird single-use private method

This commit is contained in:
Bartłomiej Dach 2023-05-06 19:34:22 +02:00
parent e0823ffd03
commit 3afe198d1d
No known key found for this signature in database

View File

@ -28,9 +28,6 @@ namespace osu.Game.Database
} }
public override void ExportToStream(TModel model, Stream outputStream, ProgressNotification? notification, CancellationToken cancellationToken = default) public override void ExportToStream(TModel model, Stream outputStream, ProgressNotification? notification, CancellationToken cancellationToken = default)
=> exportZipArchive(model, outputStream, notification, cancellationToken);
private void exportZipArchive(TModel model, Stream outputStream, ProgressNotification? notification, CancellationToken cancellationToken = default)
{ {
using (var writer = new ZipWriter(outputStream, new ZipWriterOptions(CompressionType.Deflate))) using (var writer = new ZipWriter(outputStream, new ZipWriterOptions(CompressionType.Deflate)))
{ {