mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09:00
Add [NotNull] annotation
This commit is contained in:
parent
52d1e2b5f8
commit
25f73c0b9f
@ -2,6 +2,7 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using JetBrains.Annotations;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Animations;
|
using osu.Framework.Graphics.Animations;
|
||||||
using osu.Framework.Graphics.Containers;
|
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));
|
this.catcher = catcher ?? throw new ArgumentNullException(nameof(catcher));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user