Returns a list of String's of the alerts which are in the specified index. @param lines the list of strings @param alertsIndex the index in which the \@Alerts is defined @return list of alert strings
(final List<String> lines, final int alertsIndex)
| 666 | * @return list of alert strings |
| 667 | */ |
| 668 | public static List<String> alertsToList(final List<String> lines, final int alertsIndex) { |
| 669 | return alertsToList(lines, alertsIndex, false); |
| 670 | } |
| 671 | |
| 672 | private static List<String> alertsToList(final List<String> lines, final int alertsIndex, |
| 673 | final boolean preserveCommas) { |