From 44a1d6aa706577ff042e376d3567b0b8c4466c89 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Fri, 27 Dec 2002 10:51:33 +0000 Subject: [PATCH] Empty private constructor not needed when alternative constructor is available. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352967 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hssf/usermodel/HSSFName.java | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFName.java b/src/java/org/apache/poi/hssf/usermodel/HSSFName.java index 58247bfe30..3aa50bc3f4 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFName.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFName.java @@ -54,15 +54,8 @@ package org.apache.poi.hssf.usermodel; -import org.apache.poi.util.POILogFactory; -import org.apache.poi.hssf.model.Sheet; import org.apache.poi.hssf.model.Workbook; -import org.apache.poi.hssf.record.*; -import org.apache.poi.hssf.util.Region; -import org.apache.poi.util.POILogger; - -import java.util.Iterator; -import java.util.TreeMap; +import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.util.RangeAddress; import org.apache.poi.hssf.util.SheetReferences; @@ -70,7 +63,6 @@ import org.apache.poi.hssf.util.SheetReferences; * Title: High Level Represantion of Named Range

* REFERENCE:

* @author Libin Roman (Vista Portal LDT. Developer) - * @version 1.0-pre */ public class HSSFName { @@ -80,7 +72,7 @@ public class HSSFName { /** Creates new HSSFName - called by HSSFWorkbook to create a sheet from * scratch. * - * @see #org.apache.poi.hssf.usermodel.HSSFWorkbook.createName() + * @see org.apache.poi.hssf.usermodel.HSSFWorkbook#createName() * @param name the Name Record * @param book - lowlevel Workbook object associated with the sheet. * @param book the Workbook */ @@ -90,14 +82,6 @@ public class HSSFName { this.name = name; } - /** - * private default constructor prevents bogus initializationless - * construction - */ - - private HSSFName() { - } - /** Get the sheets name which this named range is referenced to * @return sheet name, which this named range refered to */ -- 2.39.5