aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/TextComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/TextComponent.java')
-rw-r--r--libjava/java/awt/TextComponent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/awt/TextComponent.java b/libjava/java/awt/TextComponent.java
index 2b7317d..0a410a4 100644
--- a/libjava/java/awt/TextComponent.java
+++ b/libjava/java/awt/TextComponent.java
@@ -233,11 +233,11 @@ setSelectionEnd(int selectionEnd)
* specified start and end positions. Illegal values for these
* positions are silently fixed.
*
- * @param startSelection The new start position for the selected text.
- * @param endSelection The new end position for the selected text.
+ * @param selectionStart The new start position for the selected text.
+ * @param selectionEnd The new end position for the selected text.
*/
public synchronized void
-select(int selectionStart, int endSelection)
+select(int selectionStart, int selectionEnd)
{
if (selectionStart < 0)
selectionStart = 0;