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

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

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

revision 1.25 by dog, Sun Aug 28 15:20:53 2005 UTC revision 1.26 by mark, Mon Aug 29 17:02:02 2005 UTC
# Line 1684  public abstract class AbstractDocument Line 1684  public abstract class AbstractDocument
1684       */       */
1685      public boolean addEdit(UndoableEdit edit)      public boolean addEdit(UndoableEdit edit)
1686      {      {
1687          // XXX - Fully qualify ElementChange to work around gcj bug #2499.
1688        if (edit instanceof DocumentEvent.ElementChange)        if (edit instanceof DocumentEvent.ElementChange)
1689          {          {
1690            DocumentEvent.ElementChange elEdit =            DocumentEvent.ElementChange elEdit =
# Line 1743  public abstract class AbstractDocument Line 1744  public abstract class AbstractDocument
1744       */       */
1745      public DocumentEvent.ElementChange getChange(Element elem)      public DocumentEvent.ElementChange getChange(Element elem)
1746      {      {
1747          // XXX - Fully qualify ElementChange to work around gcj bug #2499.
1748        return (DocumentEvent.ElementChange) changes.get(elem);        return (DocumentEvent.ElementChange) changes.get(elem);
1749      }      }
1750    }    }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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