Browse Source

[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
tags/REL_5_2_3
PJ Fanning 1 year ago
parent
commit
d7d13a11c1

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Notes.java View 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;

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/NotesAtom.java View 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;

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/Slide.java View 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;

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlideAtom.java View 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;

+ 1
- 1
poi-scratchpad/src/main/java/org/apache/poi/hslf/record/SlidePersistAtom.java View 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 };

Loading…
Cancel
Save