]> source.dussan.org Git - poi.git/commitdiff
report size of entries for POIFSViewer
authorkiwiwings <kiwiwings@unknown>
Sun, 25 Dec 2016 00:06:13 +0000 (00:06 +0000)
committerkiwiwings <kiwiwings@unknown>
Sun, 25 Dec 2016 00:06:13 +0000 (00:06 +0000)
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

index bccac354d2670b77939a91c53fab43c5d988575f..59727a3584058ddea2853188c4e7749bf8457935 100644 (file)
@@ -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;
     }