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

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

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

revision 1.9 by rabbit78, Wed Oct 19 14:57:31 2005 UTC revision 1.10 by mark, Sun Oct 30 18:02:53 2005 UTC
# Line 666  public class GlyphView extends View impl Line 666  public class GlyphView extends View impl
666        }        }
667      catch (BadLocationException ex)      catch (BadLocationException ex)
668        {        {
669          throw new AssertionError("BadLocationException must not be thrown "          AssertionError ae;
670                                   + "here");          ae = new AssertionError("BadLocationException must not be thrown "
671                                    + "here");
672            ae.initCause(ex);
673            throw ae;
674        }        }
675      FontMetrics fm = null; // Fetch font metrics somewhere.      FontMetrics fm = null; // Fetch font metrics somewhere.
676      return Utilities.getTabbedTextWidth(seg, fm, 0, null, p0);      return Utilities.getTabbedTextWidth(seg, fm, 0, null, p0);
# Line 714  public class GlyphView extends View impl Line 717  public class GlyphView extends View impl
717        }        }
718      catch (BadLocationException ex)      catch (BadLocationException ex)
719        {        {
720          throw new AssertionError("BadLocationException should not be "          AssertionError ae;
721                                   + "thrown here. p0 = " + p0 + ", p1 = " + p1);          ae = new AssertionError("BadLocationException should not be "
722                                    + "thrown here. p0 = " + p0 + ", p1 = " + p1);
723            ae.initCause(ex);
724            throw ae;
725        }        }
726    
727      return txt;      return txt;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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