Add a @SafeVarargs annotation to the fire() method of EventSnowy.kt
This commit is contained in:
		
							parent
							
								
									dd2234be71
								
							
						
					
					
						commit
						2851d53b06
					
				| @ -2,6 +2,7 @@ package fr.username404.snowygui | |||||||
| 
 | 
 | ||||||
| interface EventSnowy { | interface EventSnowy { | ||||||
|     val type: String |     val type: String | ||||||
|  |     @SafeVarargs | ||||||
|     fun <T> fire(vararg args: T?) { |     fun <T> fire(vararg args: T?) { | ||||||
|         useKey(type).forEach { |         useKey(type).forEach { | ||||||
|             it(args) |             it(args) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user