remove some deprecated code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884223 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2020-12-08 23:30:40 +00:00
parent 8f13c07121
commit e4d6fc0a7f
111 changed files with 0 additions and 440 deletions

View File

@ -27,7 +27,6 @@ import org.apache.poi.ddf.EscherRecordFactory;
import org.apache.poi.ddf.NullEscherSerializationListener;
import org.apache.poi.hssf.util.LazilyConcatenatedByteArray;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.Removal;
/**
* The escher container record is used to hold escher records. It is abstract and
@ -126,17 +125,6 @@ public abstract class AbstractEscherHolderRecord extends Record {
@Override
public abstract short getSid();
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public AbstractEscherHolderRecord clone() {
return copy();
}
@Override
public abstract AbstractEscherHolderRecord copy();

View File

@ -25,7 +25,6 @@ import org.apache.poi.ss.formula.Formula;
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* ARRAY (0x0221)<p>
@ -89,17 +88,6 @@ public final class ArrayRecord extends SharedValueRecordBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public ArrayRecord clone() {
return copy();
}
@Override
public ArrayRecord copy() {
return new ArrayRecord(this);

View File

@ -24,7 +24,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* The AutoFilterInfo record specifies the number of columns that have AutoFilter enabled
@ -84,17 +83,6 @@ public final class AutoFilterInfoRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public AutoFilterInfoRecord clone() {
return copy();
}
@Override
public AutoFilterInfoRecord copy() {
return new AutoFilterInfoRecord(this);

View File

@ -23,7 +23,6 @@ import java.util.Map;
import java.util.function.Supplier;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Somewhat of a misnomer, its used for the beginning of a set of records that
@ -262,17 +261,6 @@ public final class BOFRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public BOFRecord clone() {
return copy();
}
@Override
public BOFRecord copy() {
return new BOFRecord(this);

View File

@ -22,7 +22,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Represents a column in a row with no value but with styling.
@ -132,17 +131,6 @@ public final class BlankRecord extends StandardRecord implements CellValueRecord
return 6;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public BlankRecord clone() {
return copy();
}
@Override
public BlankRecord copy() {
return new BlankRecord(this);

View File

@ -77,7 +77,6 @@ public final class BottomMarginRecord extends StandardRecord implements Margin {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -25,7 +25,6 @@ import org.apache.poi.hssf.record.common.FutureRecord;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Conditional Formatting Header v12 record CFHEADER12 (0x0879),
@ -89,17 +88,6 @@ public final class CFHeader12Record extends CFHeaderBase implements FutureRecord
return futureHeader.getAssociatedRange();
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public CFHeader12Record clone() {
return copy();
}
@Override
public CFHeader12Record copy() {
return new CFHeader12Record(this);

View File

@ -25,7 +25,6 @@ import org.apache.poi.ss.util.CellRangeAddressList;
import org.apache.poi.ss.util.CellRangeUtil;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Parent of Conditional Formatting Header records,
@ -146,15 +145,6 @@ public abstract class CFHeaderBase extends StandardRecord {
field_4_cell_ranges.serialize(out);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public abstract CFHeaderBase clone();
@Override
public abstract CFHeaderBase copy();

View File

@ -18,7 +18,6 @@
package org.apache.poi.hssf.record;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.util.Removal;
/**
* Conditional Formatting Header record CFHEADER (0x01B0).
@ -52,17 +51,6 @@ public final class CFHeaderRecord extends CFHeaderBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public CFHeaderRecord clone() {
return copy();
}
@Override
public CFHeaderRecord copy() {
return new CFHeaderRecord(this);

View File

@ -34,7 +34,6 @@ import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
import org.apache.poi.util.Removal;
/**
* Conditional Formatting Rules. This can hold old-style rules
@ -462,15 +461,6 @@ public abstract class CFRuleBase extends StandardRecord {
return HSSFFormulaParser.parse(formula, sheet.getWorkbook(), FormulaType.CELL, sheetIndex);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public abstract CFRuleBase clone();
@Override
public abstract CFRuleBase copy();

View File

@ -21,7 +21,6 @@ import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.ss.formula.Formula;
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Conditional Formatting Rule Record (0x01B1).
@ -132,17 +131,6 @@ public final class CFRuleRecord extends CFRuleBase {
getFormulaSize(getFormula2());
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated
@Removal(version = "5.0.0")
public CFRuleRecord clone() {
return copy();
}
@Override
public CFRuleRecord copy() {
return new CFRuleRecord(this);

View File

@ -89,7 +89,6 @@ public final class CalcCountRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -104,7 +104,6 @@ public final class CalcModeRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -242,7 +242,6 @@ public final class ColumnInfoRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -69,7 +69,6 @@ public final class ContinueRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -70,7 +70,6 @@ public final class DBCellRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -89,7 +89,6 @@ public final class DefaultColWidthRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -113,7 +113,6 @@ public final class DefaultRowHeightRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -69,7 +69,6 @@ public final class DeltaRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -26,7 +26,6 @@ import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
import org.apache.poi.util.Removal;
/**
* Provides the minumum and maximum bounds of a sheet.
@ -166,17 +165,6 @@ public final class DimensionsRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public DimensionsRecord clone() {
return copy();
}
@Override
public DimensionsRecord copy() {
return new DimensionsRecord(this);

View File

@ -83,7 +83,6 @@ public final class DrawingRecord extends StandardRecord {
recordData = thedata;
}
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -56,7 +56,6 @@ public final class EOFRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -141,7 +141,6 @@ public final class FilePassRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -136,7 +136,6 @@ public final class FileSharingRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -17,8 +17,6 @@
package org.apache.poi.hssf.record;
import org.apache.poi.util.Removal;
/**
* Specifies the footer for a sheet
*/
@ -41,17 +39,6 @@ public final class FooterRecord extends HeaderFooterBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public FooterRecord clone() {
return copy();
}
@Override
public FooterRecord copy() {
return new FooterRecord(this);

View File

@ -110,7 +110,6 @@ public final class FormatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -83,7 +83,6 @@ public final class GridsetRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -167,7 +167,6 @@ public final class GutsRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -76,7 +76,6 @@ public final class HCenterRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -23,7 +23,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* The HEADERFOOTER record stores information added in Office Excel 2007 for headers/footers.
@ -88,17 +87,6 @@ public final class HeaderFooterRecord extends StandardRecord {
return Arrays.equals(getGuid(), BLANK_GUID);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public HeaderFooterRecord clone() {
return copy();
}
@Override
public HeaderFooterRecord copy() {
return new HeaderFooterRecord(this);

View File

@ -17,8 +17,6 @@
package org.apache.poi.hssf.record;
import org.apache.poi.util.Removal;
/**
* Specifies a header for a sheet
*/
@ -41,17 +39,6 @@ public final class HeaderRecord extends HeaderFooterBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public HeaderRecord clone() {
return copy();
}
@Override
public HeaderRecord copy() {
return new HeaderRecord(this);

View File

@ -602,7 +602,6 @@ public final class HyperlinkRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -144,7 +144,6 @@ public final class IndexRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -83,7 +83,6 @@ public final class IterationRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -180,7 +180,6 @@ public final class LabelRecord extends Record implements CellValueRecordInterfac
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -87,7 +87,6 @@ public final class LabelSSTRecord extends CellRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -22,7 +22,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Record for the left margin.
@ -69,17 +68,6 @@ public final class LeftMarginRecord extends StandardRecord implements Margin {
this.field_1_margin = field_1_margin;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public LeftMarginRecord clone() {
return copy();
}
@Override
public LeftMarginRecord copy() {
return new LeftMarginRecord(this);

View File

@ -26,7 +26,6 @@ import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.CellRangeAddressList;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Optional record defining a square area of cells to "merged" into one cell.
@ -103,17 +102,6 @@ public final class MergeCellsRecord extends StandardRecord {
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public MergeCellsRecord clone() {
return copy();
}
@Override
public MergeCellsRecord copy() {
return new MergeCellsRecord(this);

View File

@ -89,7 +89,6 @@ public final class NumberRecord extends CellRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -218,7 +218,6 @@ public final class ObjRecord extends Record {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -24,7 +24,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Protect embedded object with the lamest "security" ever invented.
@ -81,17 +80,6 @@ public final class ObjectProtectRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public ObjectProtectRecord clone() {
return copy();
}
@Override
public ObjectProtectRecord copy() {
return new ObjectProtectRecord(this);

View File

@ -85,7 +85,6 @@ public final class PaneRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -80,7 +80,6 @@ public final class PasswordRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -78,7 +78,6 @@ public final class PrintGridlinesRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -82,7 +82,6 @@ public final class PrintHeadersRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -319,7 +319,6 @@ public final class PrintSetupRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -87,7 +87,6 @@ public final class ProtectRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -97,7 +97,6 @@ public final class RKRecord extends CellRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -89,7 +89,6 @@ public final class RefModeRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -86,7 +86,6 @@ public final class RefreshAllRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -66,7 +66,6 @@ public final class RightMarginRecord extends StandardRecord implements Margin {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -406,7 +406,6 @@ public final class RowRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -67,7 +67,6 @@ public final class SCLRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -78,7 +78,6 @@ public final class SaveRecalcRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -89,7 +89,6 @@ public final class ScenarioProtectRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -176,7 +176,6 @@ public final class SelectionRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -106,7 +106,6 @@ public final class SharedFormulaRecord extends SharedValueRecordBase {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -89,7 +89,6 @@ public final class StringRecord extends ContinuableRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -70,7 +70,6 @@ public final class TopMarginRecord extends StandardRecord implements Margin {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -268,7 +268,6 @@ public final class UnknownRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -71,7 +71,6 @@ public final class UseSelFSRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -81,7 +81,6 @@ public final class UserSViewBegin extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -22,7 +22,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* The UserSViewEnd record marks the end of the settings for a custom view associated with the sheet
@ -66,17 +65,6 @@ public final class UserSViewEnd extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public UserSViewEnd clone() {
return copy();
}
@Override
public UserSViewEnd copy() {
return new UserSViewEnd(this);

View File

@ -22,7 +22,6 @@ import java.util.function.Supplier;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Tells whether to center the sheet between vertical margins
@ -78,17 +77,6 @@ public final class VCenterRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public VCenterRecord clone() {
return copy();
}
@Override
public VCenterRecord copy() {
return new VCenterRecord(this);

View File

@ -26,7 +26,6 @@ import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* Stores workbook settings (aka its a big "everything we didn't put somewhere else")
@ -296,17 +295,6 @@ public final class WSBoolRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public WSBoolRecord clone() {
return copy();
}
@Override
public WSBoolRecord copy() {
return new WSBoolRecord(this);

View File

@ -87,7 +87,6 @@ public final class WindowProtectRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -464,7 +464,6 @@ public final class WindowTwoRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -466,7 +466,6 @@ public final class BorderFormatting implements Duplicatable, GenericRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -154,7 +154,6 @@ public final class ColorGradientFormatting implements Duplicatable, GenericRecor
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -157,7 +157,6 @@ public final class DataBarFormatting implements Duplicatable, GenericRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -491,7 +491,6 @@ public final class FontFormatting implements Duplicatable, GenericRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -124,7 +124,6 @@ public final class IconMultiStateFormatting implements Duplicatable, GenericReco
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -188,7 +188,6 @@ public final class PatternFormatting implements Duplicatable, GenericRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -89,7 +89,6 @@ public final class AreaFormatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -68,7 +68,6 @@ public final class AreaRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -66,7 +66,6 @@ public final class AxisLineFormatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -115,7 +115,6 @@ public final class AxisOptionsRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -82,7 +82,6 @@ public final class AxisParentRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -81,7 +81,6 @@ public final class AxisRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -62,7 +62,6 @@ public final class AxisUsedRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -79,7 +79,6 @@ public final class BarRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -61,7 +61,6 @@ public final class BeginRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -81,7 +81,6 @@ public final class CategorySeriesAxisRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -87,7 +87,6 @@ public final class ChartRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -69,7 +69,6 @@ public final class DatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -78,7 +78,6 @@ public final class DataFormatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -65,7 +65,6 @@ public final class DefaultDataLabelTextPropertiesRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -59,7 +59,6 @@ public final class EndRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -77,7 +77,6 @@ public final class FontBasisRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -59,7 +59,6 @@ public final class FontIndexRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -74,7 +74,6 @@ public final class FrameRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -109,7 +109,6 @@ public final class LegendRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -104,7 +104,6 @@ public final class LineFormatRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -98,7 +98,6 @@ public final class LinkedDataRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -25,7 +25,6 @@ import org.apache.poi.hssf.record.RecordInputStream;
import org.apache.poi.hssf.record.StandardRecord;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.Removal;
/**
* The number format index record indexes format table. This applies to an axis.
@ -59,17 +58,6 @@ public final class NumberFormatIndexRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public NumberFormatIndexRecord clone() {
return copy();
}
@Override
public NumberFormatIndexRecord copy() {
return new NumberFormatIndexRecord(this);

View File

@ -78,7 +78,6 @@ public final class ObjectLinkRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -54,7 +54,6 @@ public final class PlotAreaRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -65,7 +65,6 @@ public final class PlotGrowthRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -62,7 +62,6 @@ public final class SeriesChartGroupIndexRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

View File

@ -73,7 +73,6 @@ public final class SeriesLabelsRecord extends StandardRecord {
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")

Some files were not shown because too many files have changed in this diff Show More