equal
deleted
inserted
replaced
459 } |
459 } |
460 else { |
460 else { |
461 if ((currentBreakPositions.size() == 0 || |
461 if ((currentBreakPositions.size() == 0 || |
462 currentBreakPositions.peek().intValue() != text.getIndex()) |
462 currentBreakPositions.peek().intValue() != text.getIndex()) |
463 && text.getIndex() != startPos) { |
463 && text.getIndex() != startPos) { |
464 currentBreakPositions.push(new Integer(text.getIndex())); |
464 currentBreakPositions.push(text.getIndex()); |
465 } |
465 } |
466 getNext(); |
466 getNext(); |
467 currentBreakPositions.push(new Integer(text.getIndex())); |
467 currentBreakPositions.push(text.getIndex()); |
468 } |
468 } |
469 } |
469 } |
470 |
470 |
471 // if we still have more break positions we can try, then promote the |
471 // if we still have more break positions we can try, then promote the |
472 // last break in possibleBreakPositions into currentBreakPositions, |
472 // last break in possibleBreakPositions into currentBreakPositions, |