I am using Fortify code analyzing tool. In my code I am getting string from xml and parse it to double
a= Double.parseDouble(b);
Tool gives me
The program calls a method that parses doubles and can cause the thread to hang.
How can I enhance my code ?