Fix inconsistent whitespace/indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-07-14 20:37:27 +00:00
parent c806cede90
commit 8962f982f5

View File

@ -95,14 +95,14 @@ public final class HSSFBorderFormatting implements org.apache.poi.ss.usermodel.B
public void setBackwardDiagonalOn(boolean on) {
borderFormatting.setBackwardDiagonalOn(on);
if( on ) {
if (on ) {
cfRuleRecord.setTopLeftBottomRightBorderModified(on);
}
}
public void setBorderBottom(short border) {
borderFormatting.setBorderBottom(border);
if( border != 0) {
if (border != 0) {
cfRuleRecord.setBottomBorderModified(true);
} else {
cfRuleRecord.setBottomBorderModified(false);
@ -111,7 +111,7 @@ public final class HSSFBorderFormatting implements org.apache.poi.ss.usermodel.B
public void setBorderDiagonal(short border) {
borderFormatting.setBorderDiagonal(border);
if( border != 0) {
if (border != 0) {
cfRuleRecord.setBottomLeftTopRightBorderModified(true);
cfRuleRecord.setTopLeftBottomRightBorderModified(true);
}
@ -119,35 +119,35 @@ public final class HSSFBorderFormatting implements org.apache.poi.ss.usermodel.B
public void setBorderLeft(short border) {
borderFormatting.setBorderLeft(border);
if( border != 0) {
if (border != 0) {
cfRuleRecord.setLeftBorderModified(true);
}
}
public void setBorderRight(short border) {
borderFormatting.setBorderRight(border);
if( border != 0) {
if (border != 0) {
cfRuleRecord.setRightBorderModified(true);
}
}
public void setBorderTop(short border) {
borderFormatting.setBorderTop(border);
if( border != 0) {
if (border != 0) {
cfRuleRecord.setTopBorderModified(true);
}
}
public void setBottomBorderColor(short color) {
borderFormatting.setBottomBorderColor(color);
if( color != 0) {
if (color != 0) {
cfRuleRecord.setBottomBorderModified(true);
}
}
public void setDiagonalBorderColor(short color) {
borderFormatting.setDiagonalBorderColor(color);
if( color != 0) {
if (color != 0) {
cfRuleRecord.setBottomLeftTopRightBorderModified(true);
cfRuleRecord.setTopLeftBottomRightBorderModified(true);
}
@ -155,28 +155,28 @@ public final class HSSFBorderFormatting implements org.apache.poi.ss.usermodel.B
public void setForwardDiagonalOn(boolean on) {
borderFormatting.setForwardDiagonalOn(on);
if( on ) {
if (on ) {
cfRuleRecord.setBottomLeftTopRightBorderModified(on);
}
}
public void setLeftBorderColor(short color) {
borderFormatting.setLeftBorderColor(color);
if( color != 0) {
if (color != 0) {
cfRuleRecord.setLeftBorderModified(true);
}
}
public void setRightBorderColor(short color) {
borderFormatting.setRightBorderColor(color);
if( color != 0) {
if (color != 0) {
cfRuleRecord.setRightBorderModified(true);
}
}
public void setTopBorderColor(short color) {
borderFormatting.setTopBorderColor(color);
if( color != 0) {
if (color != 0) {
cfRuleRecord.setTopBorderModified(true);
}
}