summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-10-12 00:13:14 +0000
committerMark Spruiell <mes@zeroc.com>2002-10-12 00:13:14 +0000
commit74373e5f65a2d4a46729d8fef1016ecf8da9c2e7 (patch)
treee30f199fba4cfe16c962321245f1c1b36e0c7c82 /java/src
parentremoving join() from shutdown hook (diff)
downloadice-74373e5f65a2d4a46729d8fef1016ecf8da9c2e7.tar.bz2
ice-74373e5f65a2d4a46729d8fef1016ecf8da9c2e7.tar.xz
ice-74373e5f65a2d4a46729d8fef1016ecf8da9c2e7.zip
bug fix
Diffstat (limited to 'java/src')
-rw-r--r--java/src/IceInternal/StringUtil.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/java/src/IceInternal/StringUtil.java b/java/src/IceInternal/StringUtil.java
index 70605b0a296..6d7b0c4bf99 100644
--- a/java/src/IceInternal/StringUtil.java
+++ b/java/src/IceInternal/StringUtil.java
@@ -184,8 +184,7 @@ public final class StringUtil
//
// Decodes a UTF8 string. Decoding starts at the given start position
- // (inclusive) and stops at the given end position (exclusive). If the end
- // position is zero, then the remainder of the string is used. Upon success,
+ // (inclusive) and stops at the given end position (exclusive). Upon success,
// the result parameter holds the decoded string and true is returned.
// A return value of false indicates an error was detected in the encoding.
//
@@ -193,10 +192,6 @@ public final class StringUtil
decodeString(String s, int start, int end, Ice.StringHolder result)
{
final int len = s.length();
- if(end == 0)
- {
- end = len;
- }
assert(start >= 0);
assert(end <= len);
assert(start <= end);