Helper to convert \r\n to \n for cross-platform string matching with checked-in baselines. @param origPath original string @return String newline-standardized string @throws IOException
(String origPath)
| 312 | * @throws IOException |
| 313 | */ |
| 314 | static public String standardizeNewline(String origPath) |
| 315 | { |
| 316 | return origPath.replaceAll("\r\n", "\n"); |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * Helper to create a temporary file with given input data for use in test cases. |
no outgoing calls
no test coverage detected