diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8318acb51a8..2df21af4e82 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2003-03-02 Michael Koch + + * javax/swing/text/Caret.java + (getMagicCaretPosition): Fixed typo in method name. + * javax/swing/text/DefaultCaret.java + (getMagicCaretPosition): Fixed typo in method name. + 2003-03-02 Michael Koch * java/awt/List.java diff --git a/libjava/javax/swing/text/Caret.java b/libjava/javax/swing/text/Caret.java index 69f63edf68d..c013937f00c 100644 --- a/libjava/javax/swing/text/Caret.java +++ b/libjava/javax/swing/text/Caret.java @@ -46,7 +46,7 @@ public interface Caret void deinstall(JTextComponent c); int getBlinkRate(); int getDot(); - Point getMagicaretPosition(); + Point getMagicCaretPosition(); int getMark(); void install(JTextComponent c); boolean isSelectionVisible(); diff --git a/libjava/javax/swing/text/DefaultCaret.java b/libjava/javax/swing/text/DefaultCaret.java index 7fb7f945262..7fa94a4615a 100644 --- a/libjava/javax/swing/text/DefaultCaret.java +++ b/libjava/javax/swing/text/DefaultCaret.java @@ -104,7 +104,7 @@ public class DefaultCaret extends Rectangle implements Caret, FocusListener, Mou Point magic = null; public void setMagicCaretPosition(Point p) { magic = p; } - public Point getMagicaretPosition() + public Point getMagicCaretPosition() { return magic; } @@ -167,6 +167,3 @@ public class DefaultCaret extends Rectangle implements Caret, FocusListener, Mou repaint(); } } - - -