]> source.dussan.org Git - poi.git/commitdiff
remove unnecessary l
authorPJ Fanning <fanningpj@apache.org>
Sun, 7 Aug 2022 09:21:30 +0000 (09:21 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 7 Aug 2022 09:21:30 +0000 (09:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903266 13f79535-47bb-0310-9956-ffa450edef68

poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java
poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExObjList.java

index eb1c6fba04f5db37c69f438caa5533439c2d341a..5bab3224f4dd528ff910c0be28001c6da06872d5 100644 (file)
@@ -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);
index 56cc3ed6770a26901e9266d067809d29c8dfe883..16d30f1202b63a00dfb928ca2e981a13eec1e931 100644 (file)
@@ -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());