equal
deleted
inserted
replaced
2488 |
2488 |
2489 /** |
2489 /** |
2490 * Finds format specifiers in the format string. |
2490 * Finds format specifiers in the format string. |
2491 */ |
2491 */ |
2492 private FormatString[] parse(String s) { |
2492 private FormatString[] parse(String s) { |
2493 ArrayList<FormatString> al = new ArrayList<FormatString>(); |
2493 ArrayList<FormatString> al = new ArrayList<>(); |
2494 Matcher m = fsPattern.matcher(s); |
2494 Matcher m = fsPattern.matcher(s); |
2495 for (int i = 0, len = s.length(); i < len; ) { |
2495 for (int i = 0, len = s.length(); i < len; ) { |
2496 if (m.find(i)) { |
2496 if (m.find(i)) { |
2497 // Anything between the start of the string and the beginning |
2497 // Anything between the start of the string and the beginning |
2498 // of the format specifier is either fixed text or contains |
2498 // of the format specifier is either fixed text or contains |