diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-13 16:03:24 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-13 16:03:24 +0000 |
commit | d61be478edfebe419a59911a405cfea6ea7a5472 (patch) | |
tree | 3c12ca3cca4cdc2eb336fbe522613abc14bb6d04 /sources/scalac/util | |
parent | 848d9a68a9e45a78ad991e8c3210d01b9486c18d (diff) | |
download | scala-d61be478edfebe419a59911a405cfea6ea7a5472.tar.gz scala-d61be478edfebe419a59911a405cfea6ea7a5472.tar.bz2 scala-d61be478edfebe419a59911a405cfea6ea7a5472.zip |
- In class Name renamed sub, pos, lastPos into ...
- In class Name renamed sub, pos, lastPos into charAt, indexOf,
- lastIndexOf In those methdos, replaced byte by char
Diffstat (limited to 'sources/scalac/util')
-rw-r--r-- | sources/scalac/util/Name.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/util/Name.java b/sources/scalac/util/Name.java index 6db5ced772..6c690d38bc 100644 --- a/sources/scalac/util/Name.java +++ b/sources/scalac/util/Name.java @@ -223,7 +223,7 @@ public final class Name { /** returns last occurrence of char c in this name, -1 if not found. */ - public int lastIndexOf(byte c) { + public int lastIndexOf(char c) { byte b = (byte)c; int i = len - 1; while (i >= 0 && names[index + i] != b) |