diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-08-07 09:16:24 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-08-07 09:16:24 +0000 |
commit | d7d13a11c1a3c83ccbf9803fd9ed0bd2c7f46383 (patch) | |
tree | 080355d040ba64e52939a205b8e9793341d7a93d /poi-scratchpad | |
parent | bbfd7b9ec86e1912d2adf61fc77c800e6a8a074e (diff) | |
download | poi-d7d13a11c1a3c83ccbf9803fd9ed0bd2c7f46383.tar.gz poi-d7d13a11c1a3c83ccbf9803fd9ed0bd2c7f46383.zip |
[github-367] use uppercase L for longs. Thanks to Arturo Bernal. This closes #367
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
5 files changed, 5 insertions, 5 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java index dacbde35c8..25691641a6 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java @@ -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; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java index 606cb042c8..82ab6d13de 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java @@ -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; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java index 20f5a7d9db..98e5214bed 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java @@ -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; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java index b7dcd38220..605539b8d2 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java @@ -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; diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java index b6ea7c93e2..28638211a8 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java @@ -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 }; |