format and sort members
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a54fbd1ada
commit
9b7c834b5a
@ -17,13 +17,12 @@
|
||||
|
||||
package org.apache.poi.hwpf.usermodel;
|
||||
|
||||
import java.lang.reflect.AccessibleObject;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import org.apache.poi.hwpf.model.types.SEPAbstractType;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.AccessibleObject;
|
||||
|
||||
public final class SectionProperties
|
||||
extends SEPAbstractType
|
||||
public final class SectionProperties extends SEPAbstractType
|
||||
{
|
||||
public SectionProperties()
|
||||
{
|
||||
@ -34,22 +33,23 @@ public final class SectionProperties
|
||||
field_26_dttmPropRMark = new DateAndTime();
|
||||
}
|
||||
|
||||
public Object clone()
|
||||
throws CloneNotSupportedException
|
||||
public Object clone() throws CloneNotSupportedException
|
||||
{
|
||||
SectionProperties copy = (SectionProperties) super.clone();
|
||||
copy.field_20_brcTop = (BorderCode) field_20_brcTop.clone();
|
||||
copy.field_21_brcLeft = (BorderCode) field_21_brcLeft.clone();
|
||||
copy.field_22_brcBottom = (BorderCode) field_22_brcBottom.clone();
|
||||
copy.field_23_brcRight = (BorderCode) field_23_brcRight.clone();
|
||||
copy.field_26_dttmPropRMark = (DateAndTime)field_26_dttmPropRMark.clone();
|
||||
copy.field_26_dttmPropRMark = (DateAndTime) field_26_dttmPropRMark
|
||||
.clone();
|
||||
|
||||
return copy;
|
||||
}
|
||||
|
||||
public boolean equals( Object obj )
|
||||
{
|
||||
Field[] fields = SectionProperties.class.getSuperclass().getDeclaredFields();
|
||||
Field[] fields = SectionProperties.class.getSuperclass()
|
||||
.getDeclaredFields();
|
||||
AccessibleObject.setAccessible( fields, true );
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user