poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1142979 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java
Date Tue, 05 Jul 2011 11:02:31 GMT
Author: sergey
Date: Tue Jul  5 11:02:30 2011
New Revision: 1142979

URL: http://svn.apache.org/viewvc?rev=1142979&view=rev
Log:
add SEPX.toString() for debug purposes

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java?rev=1142979&r1=1142978&r2=1142979&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SEPX.java Tue Jul  5 11:02:30 2011
@@ -58,4 +58,10 @@ public final class SEPX extends ByteProp
     }
     return false;
   }
+
+    public String toString()
+    {
+        return "SEPX from " + getStart() + " to " + getEnd() + " (in bytes "
+                + getStartBytes() + " to " + getEndBytes() + ")";
+    }
 }



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


Mime
View raw message