poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1144229 - in /poi/trunk/src: scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java types/definitions/fld_type.out.xml types/styles/hdftype.xsl
Date Fri, 08 Jul 2011 09:55:25 GMT
Author: sergey
Date: Fri Jul  8 09:55:25 2011
New Revision: 1144229

URL: http://svn.apache.org/viewvc?rev=1144229&view=rev
Log:
make getSize() static

Removed:
    poi/trunk/src/types/definitions/fld_type.out.xml
Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java
    poi/trunk/src/types/styles/hdftype.xsl

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java?rev=1144229&r1=1144228&r2=1144229&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FLDAbstractType.java Fri
Jul  8 09:55:25 2011
@@ -102,7 +102,7 @@ public abstract class FLDAbstractType im
     /**
      * Size of record (exluding 4 byte header)
      */
-    public int getSize()
+    public static int getSize()
     {
         return 4 + +1 + 1;
     }

Modified: poi/trunk/src/types/styles/hdftype.xsl
URL: http://svn.apache.org/viewvc/poi/trunk/src/types/styles/hdftype.xsl?rev=1144229&r1=1144228&r2=1144229&view=diff
==============================================================================
--- poi/trunk/src/types/styles/hdftype.xsl (original)
+++ poi/trunk/src/types/styles/hdftype.xsl Fri Jul  8 09:55:25 2011
@@ -91,7 +91,7 @@ public abstract class <xsl:value-of sele
     /**
      * Size of record (exluding 4 byte header)
      */
-    public int getSize()
+    public static int getSize()
     {
 <xsl:variable name="fieldIterator" select="field:new()"/>
 <xsl:text>        return 4 + </xsl:text>



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


Mime
View raw message