Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

warning in java mapping

$
0
0

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.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>