Add a @SafeVarargs annotation to the fire() method of EventSnowy.kt

This commit is contained in:
Username404 2021-07-18 11:30:54 +02:00
parent dd2234be71
commit 2851d53b06
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package fr.username404.snowygui
interface EventSnowy {
val type: String
@SafeVarargs
fun <T> fire(vararg args: T?) {
useKey(type).forEach {
it(args)