make TableAutoformatLookSpecifier cloneable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
984c180ade
commit
c8dc8aa6d6
@ -2,7 +2,8 @@ package org.apache.poi.hwpf.usermodel;
|
||||
|
||||
import org.apache.poi.hwpf.model.types.TLPAbstractType;
|
||||
|
||||
public class TableAutoformatLookSpecifier extends TLPAbstractType
|
||||
public class TableAutoformatLookSpecifier extends TLPAbstractType implements
|
||||
Cloneable
|
||||
{
|
||||
public static final int SIZE = 4;
|
||||
|
||||
@ -19,10 +20,16 @@ public class TableAutoformatLookSpecifier extends TLPAbstractType
|
||||
|
||||
@Override
|
||||
public TableAutoformatLookSpecifier clone()
|
||||
throws CloneNotSupportedException
|
||||
{
|
||||
try
|
||||
{
|
||||
return (TableAutoformatLookSpecifier) super.clone();
|
||||
}
|
||||
catch ( CloneNotSupportedException e )
|
||||
{
|
||||
throw new Error( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals( Object obj )
|
||||
|
Loading…
Reference in New Issue
Block a user