aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-08-07 09:21:30 +0000
committerPJ Fanning <fanningpj@apache.org>2022-08-07 09:21:30 +0000
commitf6a320770ba8e4d6b7a4b735115eed19c8faefa5 (patch)
tree42a2bedf1e366b35419e3f22f2a783ec41f5b0c7 /poi-scratchpad
parentd7d13a11c1a3c83ccbf9803fd9ed0bd2c7f46383 (diff)
downloadpoi-f6a320770ba8e4d6b7a4b735115eed19c8faefa5.tar.gz
poi-f6a320770ba8e4d6b7a4b735115eed19c8faefa5.zip
remove unnecessary l
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java4
-rw-r--r--poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java2
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());