From b4728919b9960894435a5efec8b16db2885ae9a2 Mon Sep 17 00:00:00 2001 From: kiwiwings Date: Sun, 25 Dec 2016 00:06:13 +0000 Subject: [PATCH] report size of entries for POIFSViewer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1775992 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/poifs/property/Property.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5