Unchecked assignment: 'io.protostuff.Schema' to 'io.protostuff.Schema<T>' less... (Ctrl+F1)
Signals places where an unchecked warning is issued by the compiler, for example:
void f(HashMap map) {
map.put("key", "value");
}
Hint: Pass -Xlint:unchecked to javac to get more details.
在Idea上码代码的时候发现了一个警告, 点开一看有点好奇, 百度一下:
解决方案:
在方法上加
@SuppressWarnings("unchecked")
不过感觉有点鸡肋, 掩耳盗铃.