mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Suppress warning in generated code (#1547)
This commit is contained in:
@@ -71,6 +71,7 @@ public class AdapterGenerator(
|
|||||||
"DEPRECATION",
|
"DEPRECATION",
|
||||||
// Because we look it up reflectively
|
// Because we look it up reflectively
|
||||||
"unused",
|
"unused",
|
||||||
|
"UNUSED_PARAMETER",
|
||||||
// Because we include underscores
|
// Because we include underscores
|
||||||
"ClassName",
|
"ClassName",
|
||||||
// Because we generate redundant `out` variance for some generics and there's no way
|
// Because we generate redundant `out` variance for some generics and there's no way
|
||||||
|
Reference in New Issue
Block a user