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

Enable nullable on ImportTask

This commit is contained in:
Dean Herbert 2020-12-08 12:52:34 +09:00
parent 77279a7e56
commit 58d7e41978

View File

@ -1,6 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.IO;
using osu.Game.IO.Archives;
using osu.Game.Utils;
@ -21,7 +23,7 @@ namespace osu.Game.Database
/// <summary>
/// An optional stream which provides the file content.
/// </summary>
public Stream Stream { get; }
public Stream? Stream { get; }
/// <summary>
/// Construct a new import task from a path (on a local filesystem).