mirror of https://github.com/apache/poi.git
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
e3543d346f
commit
4d19b7b1a7
|
@ -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,9 +20,15 @@ public class TableAutoformatLookSpecifier extends TLPAbstractType
|
|||
|
||||
@Override
|
||||
public TableAutoformatLookSpecifier clone()
|
||||
throws CloneNotSupportedException
|
||||
{
|
||||
return (TableAutoformatLookSpecifier) super.clone();
|
||||
try
|
||||
{
|
||||
return (TableAutoformatLookSpecifier) super.clone();
|
||||
}
|
||||
catch ( CloneNotSupportedException e )
|
||||
{
|
||||
throw new Error( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue