From: kiwiwings Date: Sun, 25 Dec 2016 00:06:13 +0000 (+0000) Subject: report size of entries for POIFSViewer X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b4728919b9960894435a5efec8b16db2885ae9a2;p=poi.git report size of entries for POIFSViewer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775992 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/poifs/property/Property.java b/src/java/org/apache/poi/poifs/property/Property.java index bccac354d2..59727a3584 100644 --- a/src/java/org/apache/poi/poifs/property/Property.java +++ b/src/java/org/apache/poi/poifs/property/Property.java @@ -473,7 +473,7 @@ public abstract class Property implements Child, POIFSViewable { */ public Object [] getViewableArray() { - Object[] results = new Object[ 5 ]; + Object[] results = new Object[ 6 ]; results[ 0 ] = "Name = \"" + getName() + "\""; results[ 1 ] = "Property Type = " + _property_type.get(); @@ -487,6 +487,7 @@ public abstract class Property implements Child, POIFSViewable { time <<= 32; time += _seconds_2.get() & 0x0000FFFFL; results[ 4 ] = "Time 2 = " + time; + results[ 5 ] = "Size = " + getSize(); return results; }