diff options
Diffstat (limited to 'poi/src')
-rw-r--r-- | poi/src/test/java/org/apache/poi/hpsf/basic/TestBasic.java | 2 | ||||
-rw-r--r-- | poi/src/test/java/org/apache/poi/hpsf/basic/TestEmptyProperties.java | 8 | ||||
-rw-r--r-- | poi/src/test/java9/module-info.class | bin | 4145 -> 4198 bytes |
3 files changed, 5 insertions, 5 deletions
diff --git a/poi/src/test/java/org/apache/poi/hpsf/basic/TestBasic.java b/poi/src/test/java/org/apache/poi/hpsf/basic/TestBasic.java index cc75abc874..e2ce00ceb1 100644 --- a/poi/src/test/java/org/apache/poi/hpsf/basic/TestBasic.java +++ b/poi/src/test/java/org/apache/poi/hpsf/basic/TestBasic.java @@ -168,7 +168,7 @@ final class TestBasic { final SummaryInformation si = (SummaryInformation)PropertySetFactory.create(is); final List<Section> sections = si.getSections(); final Section s = sections.get(0); - assertEquals(s.getFormatID(), SummaryInformation.FORMAT_ID); + assertEquals(SummaryInformation.FORMAT_ID, s.getFormatID()); assertNotNull(s.getProperties()); assertEquals(17, s.getPropertyCount()); assertEquals("Titel", s.getProperty(PropertyIDMap.PID_TITLE)); diff --git a/poi/src/test/java/org/apache/poi/hpsf/basic/TestEmptyProperties.java b/poi/src/test/java/org/apache/poi/hpsf/basic/TestEmptyProperties.java index 0fdb48eea0..2cb8086c0c 100644 --- a/poi/src/test/java/org/apache/poi/hpsf/basic/TestEmptyProperties.java +++ b/poi/src/test/java/org/apache/poi/hpsf/basic/TestEmptyProperties.java @@ -141,13 +141,13 @@ final class TestEmptyProperties { assertNotNull(s.getTemplate()); assertNotNull(s.getLastAuthor()); assertNotNull(s.getRevNumber()); - assertEquals(s.getEditTime(), 0); + assertEquals(0, s.getEditTime()); assertNull(s.getLastPrinted()); assertNull(s.getCreateDateTime()); assertNull(s.getLastSaveDateTime()); - assertEquals(s.getPageCount(), 0); - assertEquals(s.getWordCount(), 0); - assertEquals(s.getCharCount(), 0); + assertEquals(0, s.getPageCount()); + assertEquals(0, s.getWordCount()); + assertEquals(0, s.getCharCount()); assertNull(s.getThumbnail()); assertNull(s.getApplicationName()); } diff --git a/poi/src/test/java9/module-info.class b/poi/src/test/java9/module-info.class Binary files differindex 028b943d0a..438e778ab5 100644 --- a/poi/src/test/java9/module-info.class +++ b/poi/src/test/java9/module-info.class |