1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 18:32:56 +08:00

Add [NotNull] annotation

This commit is contained in:
Bartłomiej Dach 2020-05-06 23:40:36 +02:00
parent 52d1e2b5f8
commit 25f73c0b9f

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using JetBrains.Annotations;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Animations;
using osu.Framework.Graphics.Containers;
@ -73,7 +74,7 @@ namespace osu.Game.Rulesets.Catch.UI
}
}
public CatcherTrailDisplay(Catcher catcher)
public CatcherTrailDisplay([NotNull] Catcher catcher)
{
this.catcher = catcher ?? throw new ArgumentNullException(nameof(catcher));