From d7d13a11c1a3c83ccbf9803fd9ed0bd2c7f46383 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 7 Aug 2022 09:16:24 +0000 Subject: [PATCH] [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 --- .../src/main/java/org/apache/poi/hslf/record/Notes.java | 2 +- .../src/main/java/org/apache/poi/hslf/record/NotesAtom.java | 2 +- .../src/main/java/org/apache/poi/hslf/record/Slide.java | 2 +- .../src/main/java/org/apache/poi/hslf/record/SlideAtom.java | 2 +- .../main/java/org/apache/poi/hslf/record/SlidePersistAtom.java | 2 +- 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 }; -- 2.39.5