diff options
author | Dominik Stadler <centic@apache.org> | 2017-09-16 08:22:59 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-09-16 08:22:59 +0000 |
commit | 32370cfd1cf44caabb638356f32eba60ea2a79a8 (patch) | |
tree | d17d59b5ae589bcfc2efa17b95d9159f33e47b48 /src/java/org/apache/poi/ddf | |
parent | 128c17e83ed7487f320fb20122be1603a1c9fd29 (diff) | |
download | poi-32370cfd1cf44caabb638356f32eba60ea2a79a8.tar.gz poi-32370cfd1cf44caabb638356f32eba60ea2a79a8.zip |
Remove unnecessary initialization of members
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808510 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ddf')
-rw-r--r-- | src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/poi/ddf/EscherColorRef.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java b/src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java index deb11d6983..b038c12d30 100644 --- a/src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java +++ b/src/java/org/apache/poi/ddf/EscherClientAnchorRecord.java @@ -51,7 +51,7 @@ public class EscherClientAnchorRecord private short field_8_row2; private short field_9_dy2; private byte[] remainingData = new byte[0]; - private boolean shortRecord = false; + private boolean shortRecord; @Override public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) { diff --git a/src/java/org/apache/poi/ddf/EscherColorRef.java b/src/java/org/apache/poi/ddf/EscherColorRef.java index ceaf94cbaa..949a905c98 100644 --- a/src/java/org/apache/poi/ddf/EscherColorRef.java +++ b/src/java/org/apache/poi/ddf/EscherColorRef.java @@ -26,7 +26,7 @@ import org.apache.poi.util.LittleEndian; public class EscherColorRef { @SuppressWarnings("unused") private int opid = -1; - private int colorRef = 0; + private int colorRef; public enum SysIndexSource { /** Use the fill color of the shape. */ |