aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ddf
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2018-12-25 09:59:58 +0000
committerDominik Stadler <centic@apache.org>2018-12-25 09:59:58 +0000
commit19884d0ca33018d1e417fafd253ec63cf8c31ccd (patch)
tree4d62b20301f3c4cb1c5995742d27fa6a6068dd34 /src/java/org/apache/poi/ddf
parent7421bc9a17d6f3803d2d9e44e6535d6004a6090b (diff)
downloadpoi-19884d0ca33018d1e417fafd253ec63cf8c31ccd.tar.gz
poi-19884d0ca33018d1e417fafd253ec63cf8c31ccd.zip
Code-style: Unify how arrays are specified from C-style to normal Java-style
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ddf')
-rw-r--r--src/java/org/apache/poi/ddf/EscherBitmapBlip.java2
-rw-r--r--src/java/org/apache/poi/ddf/EscherRecord.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/ddf/EscherBitmapBlip.java b/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
index 825a4b3906..05ad9ae66f 100644
--- a/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
+++ b/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
@@ -53,7 +53,7 @@ public class EscherBitmapBlip extends EscherBlipRecord {
System.arraycopy( field_1_UID, 0, data, pos, 16 );
data[pos + 16] = field_2_marker;
- byte pd[] = getPicturedata();
+ byte[] pd = getPicturedata();
System.arraycopy( pd, 0, data, pos + 17, pd.length );
listener.afterRecordSerialize(offset + getRecordSize(), getRecordId(), getRecordSize(), this);
diff --git a/src/java/org/apache/poi/ddf/EscherRecord.java b/src/java/org/apache/poi/ddf/EscherRecord.java
index c25d91902d..45fce36427 100644
--- a/src/java/org/apache/poi/ddf/EscherRecord.java
+++ b/src/java/org/apache/poi/ddf/EscherRecord.java
@@ -93,7 +93,7 @@ public abstract class EscherRecord implements Cloneable {
* @param offset the offset to start reading from
* @return value of instance part of options field
*/
- protected static short readInstance( byte data[], int offset ) {
+ protected static short readInstance(byte[] data, int offset ) {
final short options = LittleEndian.getShort( data, offset );
return fInstance.getShortValue( options );
}