From 9e45972bd16e40a440bdc7c31131a3791748fc8e Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Thu, 5 May 2005 13:39:14 +0000 Subject: [PATCH] Removed some unused initializers git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353674 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/record/RecordFactory.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/RecordFactory.java b/src/java/org/apache/poi/hssf/record/RecordFactory.java index b4f3697e2d..52ddaa1944 100644 --- a/src/java/org/apache/poi/hssf/record/RecordFactory.java +++ b/src/java/org/apache/poi/hssf/record/RecordFactory.java @@ -35,7 +35,6 @@ import java.util.*; * @author Marc Johnson (mjohnson at apache dot org) * @author Glen Stampoultzis (glens at apache.org) * @author Csaba Nagy (ncsaba at yahoo dot com) - * @version 1.0-pre */ public class RecordFactory @@ -146,7 +145,7 @@ public class RecordFactory try { - short rectype = 0; + short rectype; DrawingRecord lastDrawingRecord = new DrawingRecord( ); do @@ -225,7 +224,7 @@ public class RecordFactory public static Record [] createRecord(short rectype, short size, byte [] data) { - Record retval = null; + Record retval; Record[] realretval = null; try @@ -327,8 +326,8 @@ public class RecordFactory for (int i = 0; i < records.length; i++) { - Class record = null; - short sid = 0; + Class record; + short sid; record = records[ i ]; try -- 2.39.5