poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r652936 - /poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java
Date Fri, 02 May 2008 22:49:38 GMT
Author: josh
Date: Fri May  2 15:49:38 2008
New Revision: 652936

URL: http://svn.apache.org/viewvc?rev=652936&view=rev
Log:
should have been submitted with r652934

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java?rev=652936&r1=652935&r2=652936&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefNVPtg.java Fri May  2 15:49:38
2008
@@ -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 @@
  * @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 @@
     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();
   }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message