应参数化对泛型类型的引用

时间:2014-09-07 14:44:23

标签: java map

以下是我的语法

if (stream != null)
    stream.getStreams().getAppInstance().notifyMediaWriterOnFLVAddMetadata(stream, map);
com.wowza.util.FLVUtils.writeHeader(ds, 0.0D, map);

我收到的语法错误为:

Description Resource    Path    Location    Type
Map is a raw type. References to generic type Map<K,V> should be parameterized  LiveStreamRecorderNoEmptinessFLV.java   /LiveStreamRecorderNoEmptinessFLV/src/com/wowza/wms/plugin/integration/liverecord   line 97 Java Problem

请建议解决方案。我尝试了一切。

0 个答案:

没有答案