From: PJ Fanning Date: Sun, 7 Aug 2022 09:21:30 +0000 (+0000) Subject: remove unnecessary l X-Git-Tag: REL_5_2_3~82 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f6a320770ba8e4d6b7a4b735115eed19c8faefa5;p=poi.git remove unnecessary l git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68 --- 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());