In this code mapVendorRegions is an hashmap which consists of key as string and value as an arraylist object which holds only string the code is compiled with 2 warnings please let me know to clear warnings
im getting warning as follows:
It is not the absence of warnings you should be worrying about. It is the absence of risks of a ClassCastException. If you compile with no warnings and no "suppress warnings" annotations, then you are not risking a ClassCastException.