Fix inconsistent indents/whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1690794 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-07-13 18:40:25 +00:00
parent 65aa10e10f
commit fda28eae8b

View File

@ -116,8 +116,7 @@ public final class CFRecordsAggregate extends RecordAggregate {
/**
* Create a deep clone of the record
*/
public CFRecordsAggregate cloneCFAggregate()
{
public CFRecordsAggregate cloneCFAggregate() {
CFRuleBase[] newRecs = new CFRuleBase[rules.size()];
for (int i = 0; i < newRecs.length; i++) {
newRecs[i] = (CFRuleRecord) getRule(i).clone();
@ -128,8 +127,7 @@ public final class CFRecordsAggregate extends RecordAggregate {
/**
* @return the header. Never <code>null</code>.
*/
public CFHeaderBase getHeader()
{
public CFHeaderBase getHeader() {
return header;
}
@ -183,8 +181,7 @@ public final class CFRecordsAggregate extends RecordAggregate {
/**
* String representation of CFRecordsAggregate
*/
public String toString()
{
public String toString() {
StringBuffer buffer = new StringBuffer();
String type = "CF";
if (header instanceof CFHeader12Record) {
@ -192,12 +189,10 @@ public final class CFRecordsAggregate extends RecordAggregate {
}
buffer.append("[").append(type).append("]\n");
if( header != null )
{
if( header != null ) {
buffer.append(header.toString());
}
for(int i=0; i<rules.size(); i++)
{
for(int i=0; i<rules.size(); i++) {
CFRuleBase cfRule = rules.get(i);
buffer.append(cfRule.toString());
}