From f6a320770ba8e4d6b7a4b735115eed19c8faefa5 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 7 Aug 2022 09:21:30 +0000 Subject: [PATCH] remove unnecessary l git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hslf/record/TestDocumentEncryptionAtom.java | 4 ++-- .../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()); -- 2.39.5