You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2016/12/25 00:06:13 UTC

svn commit: r1775992 - /poi/trunk/src/java/org/apache/poi/poifs/property/Property.java

Author: kiwiwings
Date: Sun Dec 25 00:06:13 2016
New Revision: 1775992

URL: http://svn.apache.org/viewvc?rev=1775992&view=rev
Log:
report size of entries for POIFSViewer

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/property/Property.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/property/Property.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/property/Property.java?rev=1775992&r1=1775991&r2=1775992&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/property/Property.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/property/Property.java Sun Dec 25 00:06:13 2016
@@ -473,7 +473,7 @@ public abstract class Property implement
      */
     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 implement
         time         <<= 32;
         time         += _seconds_2.get() & 0x0000FFFFL;
         results[ 4 ] = "Time 2        = " + time;
+        results[ 5 ] = "Size          = " + getSize();
         return results;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org