]> source.dussan.org Git - poi.git/commitdiff
[github-367] use uppercase L for longs. Thanks to Arturo Bernal. This closes #367
authorPJ Fanning <fanningpj@apache.org>
Sun, 7 Aug 2022 09:16:24 +0000 (09:16 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 7 Aug 2022 09:16:24 +0000 (09:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903265 13f79535-47bb-0310-9956-ffa450edef68

poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java

index dacbde35c886ab402cf2c2462e1fef891493bc20..25691641a6770f8e262fb7b315ccf0e1a5fdc7fb 100644 (file)
@@ -29,7 +29,7 @@ import java.util.Arrays;
 public final class Notes extends SheetContainer
 {
     private byte[] _header;
-    private static long _type = 1008l;
+    private static long _type = 1008L;
 
     // Links to our more interesting children
     private NotesAtom notesAtom;
index 606cb042c8cbc603a578409416fa21fe6d99f016..82ab6d13de7167cb24124f5c778c05d51acb68f0 100644 (file)
@@ -35,7 +35,7 @@ import org.apache.poi.util.LittleEndian;
 public final class NotesAtom extends RecordAtom {
 
     private byte[] _header;
-    private static long _type = 1009l;
+    private static long _type = 1009L;
 
     private int slideID;
     private boolean followMasterObjects;
index 20f5a7d9db1d5b3593aced229dabfde84079dd85..98e5214bed41348b87cc5467c4efebaaa4f8646f 100644 (file)
@@ -31,7 +31,7 @@ import org.apache.poi.util.LittleEndian;
 public final class Slide extends SheetContainer
 {
     private byte[] _header;
-    private static long _type = 1006l;
+    private static long _type = 1006L;
 
     // Links to our more interesting children
     private SlideAtom slideAtom;
index b7dcd38220ce1fc86dc51a90b9c84cdc05c4f977..605539b8d2a6fff703a5a3f109b3be031fbd36e9 100644 (file)
@@ -39,7 +39,7 @@ public final class SlideAtom extends RecordAtom {
     // private static final int MASTER_SLIDE_ID      =  0x00000000;
 
     private byte[] _header;
-    private static long _type = 1007l;
+    private static long _type = 1007L;
 
     private int masterID;
     private int notesID;
index b6ea7c93e21537176a9d2788227b2ee496638799..28638211a858db6c5f27dbd8ec1d0d5297212377 100644 (file)
@@ -38,7 +38,7 @@ public final class SlidePersistAtom extends RecordAtom {
     //arbitrarily selected; may need to increase
     private static final int MAX_RECORD_LENGTH = 32;
 
-    private static final long _type = 1011l;
+    private static final long _type = 1011L;
     private static final int HAS_SHAPES_OTHER_THAN_PLACEHOLDERS = 4;
 
     private static final int[] FLAGS_MASKS = { HAS_SHAPES_OTHER_THAN_PLACEHOLDERS };