List asList=Arrays.asList(text_arr);
Set<String> myset=new HashSet<String>(asList);
[unchecked] unchecked conversion Set myset1=new HashSet(asList1); unchecked method invocation: constructor in class HashSet is applied to given types Set myset1=new HashSet(asList1);
error found -Xlint:unchecked