diff options
author | Javen O'Neal <onealj@apache.org> | 2015-11-24 07:53:17 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2015-11-24 07:53:17 +0000 |
commit | 4d0724878f197288815a111bea9f4812dc60629a (patch) | |
tree | a1ef9697c342281b9823f6c43a05448b6b241008 /src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java | |
parent | c02ec7f5dd356b0b07de0145d2c453aafc683a39 (diff) | |
download | poi-4d0724878f197288815a111bea9f4812dc60629a.tar.gz poi-4d0724878f197288815a111bea9f4812dc60629a.zip |
whitespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java index fed4bc5466..d21930b471 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java @@ -119,7 +119,7 @@ public final class TestHSSFSheet extends BaseTestSheet { HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet s = wb.createSheet(); GridsetRecord gridsetRec = s.getSheet().getGridsetRecord(); - assertTrue(gridsetRec.getGridset()); + assertTrue(gridsetRec.getGridset()); s.setGridsPrinted(true); assertFalse(gridsetRec.getGridset()); wb.close(); @@ -535,28 +535,28 @@ public final class TestHSSFSheet extends BaseTestSheet { // verify limits try { - sheet.setZoom(0, 2); - fail("Should catch Exception here"); + sheet.setZoom(0, 2); + fail("Should catch Exception here"); } catch (IllegalArgumentException e) { - assertEquals("Numerator must be greater than 0 and less than 65536", e.getMessage()); + assertEquals("Numerator must be greater than 0 and less than 65536", e.getMessage()); } try { - sheet.setZoom(65536, 2); - fail("Should catch Exception here"); + sheet.setZoom(65536, 2); + fail("Should catch Exception here"); } catch (IllegalArgumentException e) { - assertEquals("Numerator must be greater than 0 and less than 65536", e.getMessage()); + assertEquals("Numerator must be greater than 0 and less than 65536", e.getMessage()); } try { - sheet.setZoom(2, 0); - fail("Should catch Exception here"); + sheet.setZoom(2, 0); + fail("Should catch Exception here"); } catch (IllegalArgumentException e) { - assertEquals("Denominator must be greater than 0 and less than 65536", e.getMessage()); + assertEquals("Denominator must be greater than 0 and less than 65536", e.getMessage()); } try { - sheet.setZoom(2, 65536); - fail("Should catch Exception here"); + sheet.setZoom(2, 65536); + fail("Should catch Exception here"); } catch (IllegalArgumentException e) { - assertEquals("Denominator must be greater than 0 and less than 65536", e.getMessage()); + assertEquals("Denominator must be greater than 0 and less than 65536", e.getMessage()); } wb.close(); @@ -652,7 +652,7 @@ public final class TestHSSFSheet extends BaseTestSheet { } @Test - public void autoSizeColumn() throws IOException { + public void autoSizeColumn() throws IOException { HSSFWorkbook wb1 = HSSFTestDataSamples.openSampleWorkbook("43902.xls"); String sheetName = "my sheet"; HSSFSheet sheet = wb1.getSheet(sheetName); @@ -1161,8 +1161,8 @@ public final class TestHSSFSheet extends BaseTestSheet { thrown.expect(IllegalArgumentException.class); thrown.expectMessage("Maximum row number is 65535"); - sheet.showInPane(Integer.MAX_VALUE, 3); - wb.close(); + sheet.showInPane(Integer.MAX_VALUE, 3); + wb.close(); } @Test |