From 6240ac71914b761ec71ae9641171e28a310f5073 Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Fri, 2 May 2008 22:49:38 +0000 Subject: [PATCH] should have been submitted with r652934 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@652936 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hssf/record/formula/RefNVPtg.java | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java b/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java index 40b111b3ec..77ff46851b 100644 --- a/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java +++ b/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java @@ -1,4 +1,3 @@ - /* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with @@ -18,11 +17,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.util.LittleEndian; -import org.apache.poi.util.BitField; - import org.apache.poi.hssf.record.RecordInputStream; -import org.apache.poi.hssf.util.CellReference; import org.apache.poi.hssf.usermodel.HSSFWorkbook; /** @@ -30,8 +25,7 @@ import org.apache.poi.hssf.usermodel.HSSFWorkbook; * @author Jason Height (jheight at chariot dot net dot au) */ -public class RefNVPtg extends ReferencePtg -{ +public final class RefNVPtg extends ReferencePtg { public final static byte sid = 0x4C; protected RefNVPtg() { @@ -45,21 +39,16 @@ public class RefNVPtg extends ReferencePtg super(in); } - public void writeBytes(byte [] array, int offset) - { - throw new RuntimeException("Coding Error: This method should never be called. This ptg should be converted"); - } - public String getRefPtgName() { return "RefNVPtg"; } public String toFormulaString(HSSFWorkbook book) { - throw new RuntimeException("Coding Error: This method should never be called. This ptg should be converted"); + throw notImplemented(); } public Object clone() { - throw new RuntimeException("Coding Error: This method should never be called. This ptg should be converted"); + throw notImplemented(); } } -- 2.39.5