simplify PlexOfField by using GenericPropertyNode

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-08 12:18:36 +00:00
parent 65f24a120b
commit 5c8219c777

View File

@ -30,7 +30,7 @@ import java.text.MessageFormat;
public class PlexOfField
{
private final PropertyNode<?> propertyNode;
private final GenericPropertyNode propertyNode;
private final FieldDescriptor fld;
@Deprecated
@ -40,10 +40,10 @@ public class PlexOfField
fld = new FieldDescriptor( data );
}
public PlexOfField( PropertyNode<?> propertyNode )
public PlexOfField( GenericPropertyNode propertyNode )
{
this.propertyNode = propertyNode;
fld = new FieldDescriptor( (byte[]) propertyNode._buf );
fld = new FieldDescriptor( propertyNode.getBytes() );
}
public int getFcStart()