Sonar fix - "Add the missing @deprecated Javadoc tag."

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876854 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-04-22 21:25:25 +00:00
parent 778f4f5d7d
commit ad73704e81
143 changed files with 433 additions and 5 deletions

View File

@ -153,6 +153,9 @@ public abstract class AbstractEscherOptRecord extends EscherRecord {
sortProperties();
}
/**
* @deprecated use {@link #removeEscherProperty(EscherPropertyTypes)} instead
*/
@Deprecated
@Removal(version = "5.0.0")
public void removeEscherProperty(int num){

View File

@ -44,6 +44,8 @@ public class EscherComplexProperty extends EscherProperty {
* @param id The id consists of the property number, a flag indicating whether this is a blip id and a flag
* indicating that this is a complex property.
* @param complexData The value of this property.
*
* @deprecated use {@link #EscherComplexProperty(short, int)} and {@link #setComplexData(byte[])} instead
*/
@Deprecated
@Removal(version = "5.0.0")
@ -59,6 +61,8 @@ public class EscherComplexProperty extends EscherProperty {
* @param propertyNumber The property number
* @param isBlipId Whether this is a blip id. Should be false.
* @param complexData The value of this complex property.
*
* @deprecated use {@link #EscherComplexProperty(EscherPropertyTypes, boolean, int)} and {@link #setComplexData(byte[])} instead
*/
@Deprecated
@Removal(version = "5.0.0")

View File

@ -126,8 +126,11 @@ public abstract class AbstractEscherHolderRecord extends Record {
@Override
public abstract short getSid();
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
public AbstractEscherHolderRecord clone() {

View File

@ -89,6 +89,9 @@ public final class ArrayRecord extends SharedValueRecordBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -84,6 +84,9 @@ public final class AutoFilterInfoRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -262,6 +262,9 @@ public final class BOFRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -132,6 +132,9 @@ public final class BlankRecord extends StandardRecord implements CellValueRecord
return 6;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -178,6 +178,9 @@ public final class BoolErrRecord extends CellRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -74,6 +74,9 @@ public final class BottomMarginRecord extends StandardRecord implements Margin {
this.field_1_margin = field_1_margin;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -89,6 +89,9 @@ public final class CFHeader12Record extends CFHeaderBase implements FutureRecord
return futureHeader.getAssociatedRange();
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -146,6 +146,9 @@ public abstract class CFHeaderBase extends StandardRecord {
field_4_cell_ranges.serialize(out);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -52,6 +52,9 @@ public final class CFHeaderRecord extends CFHeaderBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -449,6 +449,9 @@ public final class CFRule12Record extends CFRuleBase implements FutureRecord {
return len;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -462,6 +462,9 @@ 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

View File

@ -132,6 +132,9 @@ public final class CFRuleRecord extends CFRuleBase {
getFormulaSize(getFormula2());
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -86,6 +86,9 @@ public final class CalcCountRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -101,6 +101,9 @@ public final class CalcModeRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -239,6 +239,9 @@ public final class ColumnInfoRecord extends StandardRecord {
return 12;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -136,6 +136,9 @@ public final class CommonObjectDataSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -66,6 +66,9 @@ public final class ContinueRecord extends StandardRecord {
_data = in.readRemainder();
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -67,6 +67,9 @@ public final class DBCellRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -155,6 +155,9 @@ public final class DVALRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -331,6 +331,9 @@ public final class DVRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -86,6 +86,9 @@ public final class DefaultColWidthRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -110,6 +110,9 @@ public final class DefaultRowHeightRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -66,6 +66,9 @@ public final class DeltaRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -166,6 +166,9 @@ public final class DimensionsRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -114,6 +114,9 @@ public final class DrawingSelectionRecord extends StandardRecord {
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -53,6 +53,9 @@ public final class EOFRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -320,6 +320,9 @@ public final class EmbeddedObjectRefSubRecord extends SubRecord {
return field_6_unknown;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -70,6 +70,9 @@ public final class EndSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -112,6 +112,9 @@ public final class FeatHdrRecord extends StandardRecord {
return 12 + 2+1+4+rgbHdrData.length;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -181,6 +181,9 @@ public final class FeatRecord extends StandardRecord {
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -138,6 +138,9 @@ public final class FilePassRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -133,6 +133,9 @@ public final class FileSharingRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -41,6 +41,9 @@ public final class FooterRecord extends HeaderFooterBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -107,6 +107,9 @@ public final class FormatRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -230,6 +230,9 @@ public final class FormulaRecord extends CellRecord {
return "FORMULA";
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -87,6 +87,9 @@ public final class FtCblsSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -99,6 +99,9 @@ public final class FtCfSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -153,6 +153,9 @@ public final class FtPioGrbitSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -80,6 +80,9 @@ public final class GridsetRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -75,6 +75,9 @@ public final class GroupMarkerSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -164,6 +164,9 @@ public final class GutsRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -73,6 +73,9 @@ public final class HCenterRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -88,6 +88,9 @@ public final class HeaderFooterRecord extends StandardRecord {
return Arrays.equals(getGuid(), BLANK_GUID);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -41,6 +41,9 @@ public final class HeaderRecord extends HeaderFooterBase {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -48,6 +48,9 @@ public final class HorizontalPageBreakRecord extends PageBreakRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -599,6 +599,9 @@ public final class HyperlinkRecord extends StandardRecord {
setTextMark("");
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -141,6 +141,9 @@ public final class IndexRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -80,6 +80,9 @@ public final class IterationRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

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

View File

@ -84,6 +84,9 @@ public final class LabelSSTRecord extends CellRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -281,6 +281,9 @@ public class LbsDataSubRecord extends SubRecord {
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -69,6 +69,9 @@ 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

View File

@ -25,15 +25,15 @@ public interface Margin {
// TODO - introduce MarginBaseRecord
/**
* Get the margin field for the Margin.
*
*
* @return the margin
*/
public double getMargin();
double getMargin();
/**
* Set the margin field for the Margin.
*
*
* @param field_1_margin the margin
*/
public void setMargin(double field_1_margin);
void setMargin(double field_1_margin);
}

View File

@ -103,6 +103,9 @@ public final class MergeCellsRecord extends StandardRecord {
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -119,6 +119,9 @@ public final class MulBlankRecord extends StandardRecord {
return 6 + _xfs.length * 2;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -241,6 +241,9 @@ public final class NoteRecord extends StandardRecord {
field_5_hasMultibyte = StringUtil.hasMultibyte(author);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -99,6 +99,9 @@ public final class NoteStructureSubRecord extends SubRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -86,6 +86,9 @@ public final class NumberRecord extends CellRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -215,6 +215,9 @@ public final class ObjRecord extends Record {
return subrecords.add(o);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -81,6 +81,9 @@ public final class ObjectProtectRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -82,6 +82,9 @@ public final class PaneRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -77,6 +77,9 @@ public final class PasswordRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -75,6 +75,9 @@ public final class PrintGridlinesRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -79,6 +79,9 @@ public final class PrintHeadersRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -316,6 +316,9 @@ public final class PrintSetupRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -84,6 +84,9 @@ public final class ProtectRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -94,6 +94,9 @@ public final class RKRecord extends CellRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -86,6 +86,9 @@ public final class RefModeRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -83,6 +83,9 @@ public final class RefreshAllRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -63,6 +63,9 @@ public final class RightMarginRecord extends StandardRecord implements Margin {
public void setMargin( double field_1_margin )
{ this.field_1_margin = field_1_margin; }
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -403,6 +403,9 @@ public final class RowRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -64,6 +64,9 @@ public final class SCLRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -75,6 +75,9 @@ public final class SaveRecalcRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -86,6 +86,9 @@ public final class ScenarioProtectRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -173,6 +173,9 @@ public final class SelectionRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -103,6 +103,9 @@ public final class SharedFormulaRecord extends SharedValueRecordBase {
return sf.convertSharedFormulas(field_7_parsed_expr.getTokens(), formulaRow, formulaColumn);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -86,6 +86,9 @@ public final class StringRecord extends ContinuableRecord {
_is16bitUnicode = StringUtil.hasMultibyte(string);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -167,6 +167,9 @@ public abstract class SubRecord implements Duplicatable, GenericRecord {
out.write(_data);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -317,6 +317,9 @@ public final class TextObjectRecord extends ContinuableRecord {
return _linkRefPtg;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -67,6 +67,9 @@ public final class TopMarginRecord extends StandardRecord implements Margin {
public void setMargin( double field_1_margin )
{ this.field_1_margin = field_1_margin; }
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -265,6 +265,9 @@ public final class UnknownRecord extends StandardRecord {
return false;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -68,6 +68,9 @@ public final class UseSelFSRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -78,6 +78,9 @@ public final class UserSViewBegin extends StandardRecord {
return Arrays.copyOf(_rawData, 16);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -66,6 +66,9 @@ public final class UserSViewEnd extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -78,6 +78,9 @@ public final class VCenterRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -48,6 +48,9 @@ public final class VerticalPageBreakRecord extends PageBreakRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -296,6 +296,9 @@ public final class WSBoolRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -84,6 +84,9 @@ public final class WindowProtectRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -461,6 +461,9 @@ public final class WindowTwoRecord extends StandardRecord {
return sid;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -61,6 +61,9 @@ public final class ColumnInfoRecordsAggregate extends RecordAggregate implements
}
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -29,6 +29,7 @@ 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;
@ -360,6 +361,9 @@ public final class ValueRecordsAggregate implements Iterable<CellValueRecordInte
return new ValueIterator();
}
/**
* @deprecated use {@link org.apache.poi.hssf.usermodel.HSSFSheet#cloneSheet(HSSFWorkbook)} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -463,6 +463,9 @@ public final class BorderFormatting implements Duplicatable, GenericRecord {
return GenericRecordJsonWriter.marshal(this);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -151,6 +151,9 @@ public final class ColorGradientFormatting implements Duplicatable, GenericRecor
return GenericRecordJsonWriter.marshal(this);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -60,6 +60,9 @@ public final class ColorGradientThreshold extends Threshold implements Duplicata
return super.getDataLength() + 8;
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -154,6 +154,9 @@ public final class DataBarFormatting implements Duplicatable, GenericRecord {
return GenericRecordJsonWriter.marshal(this);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

View File

@ -39,6 +39,9 @@ public final class DataBarThreshold extends Threshold implements Duplicatable {
super(in);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings("squid:S2975")
@Deprecated

View File

@ -488,6 +488,9 @@ public final class FontFormatting implements Duplicatable, GenericRecord {
return GenericRecordJsonWriter.marshal(this);
}
/**
* @deprecated use {@link #copy()} instead
*/
@Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated

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