Return-Path: Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: (qmail 64022 invoked from network); 11 Jun 2010 15:17:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Jun 2010 15:17:52 -0000 Received: (qmail 98632 invoked by uid 500); 11 Jun 2010 15:17:52 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 98601 invoked by uid 500); 11 Jun 2010 15:17:52 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 98594 invoked by uid 99); 11 Jun 2010 15:17:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 15:17:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 15:17:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 40C1A2388897; Fri, 11 Jun 2010 15:17:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r953721 - in /poi/trunk/src/java/org/apache/poi/hssf/record: UnicodeString.java common/UnicodeString.java Date: Fri, 11 Jun 2010 15:17:06 -0000 To: commits@poi.apache.org From: nick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100611151707.40C1A2388897@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Fri Jun 11 15:16:49 2010 New Revision: 953721 URL: http://svn.apache.org/viewvc?rev=953721&view=rev Log: Keep compatibility for now, and alert people to move to the new class Added: poi/trunk/src/java/org/apache/poi/hssf/record/UnicodeString.java Modified: poi/trunk/src/java/org/apache/poi/hssf/record/common/UnicodeString.java Added: poi/trunk/src/java/org/apache/poi/hssf/record/UnicodeString.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/UnicodeString.java?rev=953721&view=auto ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/UnicodeString.java (added) +++ poi/trunk/src/java/org/apache/poi/hssf/record/UnicodeString.java Fri Jun 11 15:16:49 2010 @@ -0,0 +1,35 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.hssf.record; +/** + * @deprecated Use {@link org.apache.poi.hssf.record.common.UnicodeString} instead + */ +public final class UnicodeString extends org.apache.poi.hssf.record.common.UnicodeString { + /** + * @deprecated Use {@link org.apache.poi.hssf.record.common.UnicodeString} instead + */ + public UnicodeString(RecordInputStream in) { + super(in); + } + /** + * @deprecated Use {@link org.apache.poi.hssf.record.common.UnicodeString} instead + */ + public UnicodeString(String str) { + super(str); + } +} Modified: poi/trunk/src/java/org/apache/poi/hssf/record/common/UnicodeString.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/common/UnicodeString.java?rev=953721&r1=953720&r2=953721&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/common/UnicodeString.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/common/UnicodeString.java Fri Jun 11 15:16:49 2010 @@ -38,7 +38,7 @@ import org.apache.poi.util.StringUtil; * REFERENCE: PG 264 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

* REFERENCE: PG 951 Excel Binary File Format (.xls) Structure Specification v20091214 */ -public final class UnicodeString implements Comparable { +public class UnicodeString implements Comparable { // TODO - make this final when the compatibility version is removed private short field_1_charCount; private byte field_2_optionflags; private String field_3_string; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org