summaryrefslogtreecommitdiffstats
path: root/libjava/java/awt/TextComponent.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 20:23:28 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 20:23:28 +0000
commit2c2342e46e618ab924cef7fcf7e27ce8c85d36c6 (patch)
tree7c1ecb4129cfeaf7c93bf2bb9347e0cb39665802 /libjava/java/awt/TextComponent.java
parent120c46c2553aedac243cc1187c7846a4bee93da1 (diff)
downloadppe42-gcc-2c2342e46e618ab924cef7fcf7e27ce8c85d36c6.tar.gz
ppe42-gcc-2c2342e46e618ab924cef7fcf7e27ce8c85d36c6.zip
2004-05-03 Mark Wielaard <mark@klomp.org>
* gnu/java/security/der/DERReader.java: Call static methods staticly. * java/awt/TextComponent.java (select): Use selectionEnd parameter. * java/net/URL.java (set(String, String, int, String, String, String, String, String)): Assign this.file to path or path + "?" + query. * java/util/Arrays.java: Call static methods staticly. * java/util/zip/ZipEntry.java: Likewise. * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign dir to this.direction. * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): Assign static field only once. (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81453 138bc75d-0d04-0410-961f-82ee72b054a4
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 2b7317d8519..0a410a44b9f 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;
OpenPOWER on IntegriCloud