(String label)
| 523 | } |
| 524 | |
| 525 | private int findOption(String label) { |
| 526 | for (int i = 0; i < options.length; i++) { |
| 527 | String l = options[i].label; |
| 528 | if ((!caseSensitive && label.equalsIgnoreCase(l)) || label.equals(l)) { |
| 529 | return i; |
| 530 | } |
| 531 | } |
| 532 | return -1; |
| 533 | } |
| 534 | |
| 535 | private Option[] options = null; |
| 536 |
no outgoing calls
no test coverage detected