Dear Friends,
In the below code in java mapping I am getting a warning - Map is a raw type. "Map is a raw type. References to generic type Map<K,V> should be parameterized"
| public void setParameter(Map param) { | |
| if (param != null) { | |
| Object o = param.get(StreamTransformationConstants.MAPPING_TRACE); | |
| if (o != null && o instanceof MappingTrace) { | |
| trace = (MappingTrace) o; | |
| } | |
| } | |
| } |
Can anybody plz help me in correcting this code to remove this warning. I am using eclipse 4.3.
Thanks.
Sumeet.