From 07b76ae6a3a7d748b531bd4495276f4e8a7e8284 Mon Sep 17 00:00:00 2001 From: Alan Liu Date: Thu, 24 Feb 2000 19:42:39 +0000 Subject: [PATCH] Fix compilation warnings X-SVN-Rev: 816 --- icu4j/src/com/ibm/icu/util/CompactByteArray.java | 8 ++++---- icu4j/src/com/ibm/icu/util/CompactCharArray.java | 6 +++--- icu4j/src/com/ibm/util/CompactByteArray.java | 8 ++++---- icu4j/src/com/ibm/util/CompactCharArray.java | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/icu4j/src/com/ibm/icu/util/CompactByteArray.java b/icu4j/src/com/ibm/icu/util/CompactByteArray.java index e11663a904..f47b59b327 100755 --- a/icu4j/src/com/ibm/icu/util/CompactByteArray.java +++ b/icu4j/src/com/ibm/icu/util/CompactByteArray.java @@ -1,5 +1,5 @@ /* - * $RCSfile: CompactByteArray.java,v $ $Revision: 1.3 $ $Date: 2000/02/24 19:38:14 $ + * $RCSfile: CompactByteArray.java,v $ $Revision: 1.4 $ $Date: 2000/02/24 19:42:38 $ * * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996-1998 - All Rights Reserved @@ -49,7 +49,7 @@ package com.ibm.util; * array contains the indicies of Unicode characters to the value array. * * @see CompactCharArray - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @author Helena Shih */ public final class CompactByteArray implements Cloneable { @@ -264,7 +264,7 @@ public final class CompactByteArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getIndexArray()[] + public char[] getIndexArray() { return indices; } @@ -273,7 +273,7 @@ public final class CompactByteArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public byte getValueArray()[] + public byte[] getValueArray() { return values; } diff --git a/icu4j/src/com/ibm/icu/util/CompactCharArray.java b/icu4j/src/com/ibm/icu/util/CompactCharArray.java index a5a67f0927..939aee55e6 100755 --- a/icu4j/src/com/ibm/icu/util/CompactCharArray.java +++ b/icu4j/src/com/ibm/icu/util/CompactCharArray.java @@ -49,7 +49,7 @@ import com.ibm.util.Utility; * A compact array is composed of a index array and value array. The index * array contains the indicies of Unicode characters to the value array. * @see CompactByteArray - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @author Helena Shih */ public final class CompactCharArray implements Cloneable { @@ -291,7 +291,7 @@ public final class CompactCharArray implements Cloneable { /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getIndexArray()[] + public char[] getIndexArray() { return indices; } @@ -300,7 +300,7 @@ public final class CompactCharArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getValueArray()[] + public char[] getValueArray() { return values; } diff --git a/icu4j/src/com/ibm/util/CompactByteArray.java b/icu4j/src/com/ibm/util/CompactByteArray.java index e11663a904..f47b59b327 100755 --- a/icu4j/src/com/ibm/util/CompactByteArray.java +++ b/icu4j/src/com/ibm/util/CompactByteArray.java @@ -1,5 +1,5 @@ /* - * $RCSfile: CompactByteArray.java,v $ $Revision: 1.3 $ $Date: 2000/02/24 19:38:14 $ + * $RCSfile: CompactByteArray.java,v $ $Revision: 1.4 $ $Date: 2000/02/24 19:42:38 $ * * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996-1998 - All Rights Reserved @@ -49,7 +49,7 @@ package com.ibm.util; * array contains the indicies of Unicode characters to the value array. * * @see CompactCharArray - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @author Helena Shih */ public final class CompactByteArray implements Cloneable { @@ -264,7 +264,7 @@ public final class CompactByteArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getIndexArray()[] + public char[] getIndexArray() { return indices; } @@ -273,7 +273,7 @@ public final class CompactByteArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public byte getValueArray()[] + public byte[] getValueArray() { return values; } diff --git a/icu4j/src/com/ibm/util/CompactCharArray.java b/icu4j/src/com/ibm/util/CompactCharArray.java index a5a67f0927..939aee55e6 100755 --- a/icu4j/src/com/ibm/util/CompactCharArray.java +++ b/icu4j/src/com/ibm/util/CompactCharArray.java @@ -49,7 +49,7 @@ import com.ibm.util.Utility; * A compact array is composed of a index array and value array. The index * array contains the indicies of Unicode characters to the value array. * @see CompactByteArray - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * @author Helena Shih */ public final class CompactCharArray implements Cloneable { @@ -291,7 +291,7 @@ public final class CompactCharArray implements Cloneable { /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getIndexArray()[] + public char[] getIndexArray() { return indices; } @@ -300,7 +300,7 @@ public final class CompactCharArray implements Cloneable { * For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public char getValueArray()[] + public char[] getValueArray() { return values; }