diff options
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java | 4 | ||||
-rw-r--r-- | poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java b/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java index eb1c6fba04..5bab3224f4 100644 --- a/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java +++ b/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java @@ -89,10 +89,10 @@ public final class TestDocumentEncryptionAtom { @Test void recordType() throws IOException { DocumentEncryptionAtom dea1 = new DocumentEncryptionAtom(data_a, 0, data_a.length); - assertEquals(12052l, dea1.getRecordType()); + assertEquals(12052, dea1.getRecordType()); DocumentEncryptionAtom dea2 = new DocumentEncryptionAtom(data_b, 0, data_b.length); - assertEquals(12052l, dea2.getRecordType()); + assertEquals(12052, dea2.getRecordType()); assertEquals(199, data_a.length); assertEquals(198, data_b.length); diff --git a/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java b/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java index 56cc3ed677..16d30f1202 100644 --- a/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java +++ b/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java @@ -39,7 +39,7 @@ public class TestExObjList { // Get the ExObjList ExObjList exObjList = doc.getExObjList(false); assertNotNull(exObjList); - assertEquals(1033l, exObjList.getRecordType()); + assertEquals(1033, exObjList.getRecordType()); // Check the atom assertNotNull(exObjList.getExObjListAtom()); |