| | |
| | | } |
| | | else if ((newIndexParts.length == 1 && existingIndexParts.length == 1) |
| | | || (newIndexParts.length > 1 && existingIndexParts.length == 1) |
| | | || (newIndexParts[1].equalsIgnoreCase(existingIndexParts[1]))) |
| | | || newIndexParts[1].equalsIgnoreCase(existingIndexParts[1])) |
| | | { |
| | | return; |
| | | } |
| | |
| | | { |
| | | if ((newIndexParts.length == 1 && existingIndexParts.length >= 1) |
| | | || (newIndexParts.length > 1 && existingIndexParts.length == 1) |
| | | || (newIndexParts[1].equalsIgnoreCase(existingIndexParts[1]))) |
| | | || newIndexParts[1].equalsIgnoreCase(existingIndexParts[1])) |
| | | { |
| | | return thatIndex; |
| | | } |