/[classpath]/classpath/javax/swing/text/GapContent.java
ViewVC logotype

Diff of /classpath/javax/swing/text/GapContent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by langel, Tue Aug 2 14:25:09 2005 UTC revision 1.19 by langel, Tue Aug 2 14:39:11 2005 UTC
# Line 424  public class GapContent Line 424  public class GapContent
424              gapEnd));              gapEnd));
425        int index2 = Collections.binarySearch(positions, new GapContentPosition(        int index2 = Collections.binarySearch(positions, new GapContentPosition(
426              newGapEnd));              newGapEnd));
427        if (index1 > 0 || index2 > 0)        if (index1 > 0 && index2 > 0)
428        {        {
429           int i1 = Math.min(index1, index2);           int i1 = Math.min(index1, index2);
430           int i2 = Math.max(index1, index2);           int i2 = Math.max(index1, index2);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26