From 74373e5f65a2d4a46729d8fef1016ecf8da9c2e7 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Sat, 12 Oct 2002 00:13:14 +0000 Subject: bug fix --- java/src/IceInternal/StringUtil.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'java/src/IceInternal/StringUtil.java') 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); -- cgit v1.2.3