Fix inconsistent indents/whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691473 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0cde71224d
commit
65acc41519
@ -33,7 +33,6 @@ import org.apache.poi.ss.util.CellRangeAddress;
|
|||||||
* The 'Conditional Formatting' facet of <tt>HSSFSheet</tt>
|
* The 'Conditional Formatting' facet of <tt>HSSFSheet</tt>
|
||||||
*/
|
*/
|
||||||
public final class HSSFSheetConditionalFormatting implements SheetConditionalFormatting {
|
public final class HSSFSheetConditionalFormatting implements SheetConditionalFormatting {
|
||||||
|
|
||||||
private final HSSFSheet _sheet;
|
private final HSSFSheet _sheet;
|
||||||
private final ConditionalFormattingTable _conditionalFormattingTable;
|
private final ConditionalFormattingTable _conditionalFormattingTable;
|
||||||
|
|
||||||
@ -180,36 +179,27 @@ public final class HSSFSheetConditionalFormatting implements SheetConditionalFor
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int addConditionalFormatting(CellRangeAddress[] regions,
|
public int addConditionalFormatting(CellRangeAddress[] regions,
|
||||||
HSSFConditionalFormattingRule rule1)
|
HSSFConditionalFormattingRule rule1) {
|
||||||
{
|
return addConditionalFormatting(regions, rule1 == null ?
|
||||||
return addConditionalFormatting(regions,
|
null : new HSSFConditionalFormattingRule[] { rule1 }
|
||||||
rule1 == null ? null : new HSSFConditionalFormattingRule[]
|
);
|
||||||
{
|
|
||||||
rule1
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int addConditionalFormatting(CellRangeAddress[] regions,
|
public int addConditionalFormatting(CellRangeAddress[] regions,
|
||||||
ConditionalFormattingRule rule1)
|
ConditionalFormattingRule rule1) {
|
||||||
{
|
|
||||||
return addConditionalFormatting(regions, (HSSFConditionalFormattingRule)rule1);
|
return addConditionalFormatting(regions, (HSSFConditionalFormattingRule)rule1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int addConditionalFormatting(CellRangeAddress[] regions,
|
public int addConditionalFormatting(CellRangeAddress[] regions,
|
||||||
HSSFConditionalFormattingRule rule1,
|
HSSFConditionalFormattingRule rule1,
|
||||||
HSSFConditionalFormattingRule rule2)
|
HSSFConditionalFormattingRule rule2) {
|
||||||
{
|
|
||||||
return addConditionalFormatting(regions,
|
return addConditionalFormatting(regions,
|
||||||
new HSSFConditionalFormattingRule[]
|
new HSSFConditionalFormattingRule[] { rule1, rule2 });
|
||||||
{
|
|
||||||
rule1, rule2
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int addConditionalFormatting(CellRangeAddress[] regions,
|
public int addConditionalFormatting(CellRangeAddress[] regions,
|
||||||
ConditionalFormattingRule rule1,
|
ConditionalFormattingRule rule1,
|
||||||
ConditionalFormattingRule rule2)
|
ConditionalFormattingRule rule2) {
|
||||||
{
|
|
||||||
return addConditionalFormatting(regions,
|
return addConditionalFormatting(regions,
|
||||||
(HSSFConditionalFormattingRule)rule1,
|
(HSSFConditionalFormattingRule)rule1,
|
||||||
(HSSFConditionalFormattingRule)rule2
|
(HSSFConditionalFormattingRule)rule2
|
||||||
|
Loading…
Reference in New Issue
Block a user