Suppress some warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2017-09-16 08:23:57 +00:00
parent 87f5a0c7cd
commit 50beafbb47
3 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public final class DVRecord extends StandardRecord implements Cloneable {
/** Formula data for first condition (RPN token array without size field) */
private Formula _formula1;
/** Not used - Excel seems to always write 0x0000 */
@SuppressWarnings("RedundantFieldInitialization")
private short _not_used_2 = 0x0000;
/** Formula data for second condition (RPN token array without size field) */
private Formula _formula2;

View File

@ -34,6 +34,7 @@ import org.apache.poi.util.StringUtil;
* as {@link FeatRecord}
*/
public final class FeatProtection implements SharedFeature {
@SuppressWarnings("RedundantFieldInitialization")
public static long NO_SELF_RELATIVE_SECURITY_FEATURE = 0;
public static long HAS_SELF_RELATIVE_SECURITY_FEATURE = 1;

View File

@ -24,6 +24,7 @@ public final class SectionProperties extends SEPAbstractType implements Cloneabl
private short field_60_rncftn;
private short field_61_rncedn;
private int field_62_nftn;
@SuppressWarnings("RedundantFieldInitialization")
private int field_63_nfcftnref = 0x00; // initialize with default value; msonfcArabic
private int field_64_nedn;
private int field_65_nfcednref = 0x02; // initialize with default value; msonfcLCRoman