remove old deprecated clone method

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-11-08 20:53:19 +00:00
parent 2a6ef7e4ae
commit 3b8ce51ff8
1 changed files with 0 additions and 13 deletions

View File

@ -29,10 +29,8 @@ import org.apache.poi.hssf.record.Record;
import org.apache.poi.hssf.record.RecordBase;
import org.apache.poi.hssf.record.StringRecord;
import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.formula.FormulaShifter;
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.util.Removal;
/**
*
@ -356,15 +354,4 @@ public final class ValueRecordsAggregate implements Iterable<CellValueRecordInte
public Iterator<CellValueRecordInterface> iterator() {
return new ValueIterator();
}
/**
* @deprecated use {@link org.apache.poi.hssf.usermodel.HSSFSheet#cloneSheet(HSSFWorkbook)} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public Object clone() {
throw new RuntimeException("clone() should not be called. ValueRecordsAggregate should be copied via Sheet.cloneSheet()");
}
}