support for sizeless records (header only)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e547247a8
commit
7b8e69897b
@ -147,7 +147,7 @@ public class FieldIterator
|
|||||||
|
|
||||||
public String calcSize( int fieldNumber, String fieldName, String size, String type)
|
public String calcSize( int fieldNumber, String fieldName, String size, String type)
|
||||||
{
|
{
|
||||||
String result = fieldNumber == 1 ? "" : " + ";
|
String result = " + ";
|
||||||
if ("var".equals(size))
|
if ("var".equals(size))
|
||||||
{
|
{
|
||||||
String javaFieldName = RecordUtil.getFieldName(fieldNumber,fieldName,0);
|
String javaFieldName = RecordUtil.getFieldName(fieldNumber,fieldName,0);
|
||||||
|
Loading…
Reference in New Issue
Block a user