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:
parent
65f24a120b
commit
5c8219c777
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user