Opened 8 years ago

Closed 8 years ago

#1423 closed defect (fixed)

WCPS_No throw exception when parse double value as it will slow result multiple times

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc: Vlad Merticariu, Dimitar Misev
Complexity: Medium

Description

There is a function in WcpsCoverageMetadataTranslator to parse Double() from String, it will throw exception each time the string is not parsable and write to log, then it slow down the process to generate Rasql multiple times.

Use the helper NumberUtils of apache.commom to check the string can parse will reduce lot of times.

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.