[libbluray-devel] Add final
hpi1
git at videolan.org
Thu Sep 7 10:14:32 CEST 2017
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 7 10:55:03 2017 +0300| [39565a28bab64c229660acaa46724a2f9aa9d16f] | committer: hpi1
Add final
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=39565a28bab64c229660acaa46724a2f9aa9d16f
---
src/libbluray/bdj/java/org/videolan/PlaylistInfo.java | 12 ++++++------
src/libbluray/bdj/java/org/videolan/StreamInfo.java | 14 +++++++-------
src/libbluray/bdj/java/org/videolan/TIClip.java | 14 +++++++-------
src/libbluray/bdj/java/org/videolan/TIMark.java | 12 ++++++------
4 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/libbluray/bdj/java/org/videolan/PlaylistInfo.java b/src/libbluray/bdj/java/org/videolan/PlaylistInfo.java
index e0d6508e..241ac590 100644
--- a/src/libbluray/bdj/java/org/videolan/PlaylistInfo.java
+++ b/src/libbluray/bdj/java/org/videolan/PlaylistInfo.java
@@ -56,9 +56,9 @@ public class PlaylistInfo {
return angles;
}
- private int playlist;
- private long duration;
- private int angles;
- private TIMark[] marks;
- private TIClip[] clips;
-}
\ No newline at end of file
+ private final int playlist;
+ private final long duration;
+ private final int angles;
+ private final TIMark[] marks;
+ private final TIClip[] clips;
+}
diff --git a/src/libbluray/bdj/java/org/videolan/StreamInfo.java b/src/libbluray/bdj/java/org/videolan/StreamInfo.java
index 33f1f69a..8bbd33d7 100644
--- a/src/libbluray/bdj/java/org/videolan/StreamInfo.java
+++ b/src/libbluray/bdj/java/org/videolan/StreamInfo.java
@@ -140,11 +140,11 @@ public class StreamInfo {
return subpath_id;
}
- private byte coding_type;
- private byte format;
- private byte rate;
- private char char_code;
- private String lang;
- private byte aspect;
- private byte subpath_id;
+ private final byte coding_type;
+ private final byte format;
+ private final byte rate;
+ private final char char_code;
+ private final String lang;
+ private final byte aspect;
+ private final byte subpath_id;
}
diff --git a/src/libbluray/bdj/java/org/videolan/TIClip.java b/src/libbluray/bdj/java/org/videolan/TIClip.java
index 6600ac26..878267b5 100644
--- a/src/libbluray/bdj/java/org/videolan/TIClip.java
+++ b/src/libbluray/bdj/java/org/videolan/TIClip.java
@@ -83,11 +83,11 @@ public class TIClip {
return secAudioStreams;
}
- private int index;
- private StreamInfo[] videoStreams = null;
- private StreamInfo[] audioStreams = null;
- private StreamInfo[] pgStreams = null;
- private StreamInfo[] igStreams = null;
- private StreamInfo[] secVideoStreams = null;
- private StreamInfo[] secAudioStreams = null;
+ private final int index;
+ private final StreamInfo[] videoStreams;
+ private final StreamInfo[] audioStreams;
+ private final StreamInfo[] pgStreams;
+ private final StreamInfo[] igStreams;
+ private final StreamInfo[] secVideoStreams;
+ private final StreamInfo[] secAudioStreams;
}
diff --git a/src/libbluray/bdj/java/org/videolan/TIMark.java b/src/libbluray/bdj/java/org/videolan/TIMark.java
index c4d40447..89a69a39 100644
--- a/src/libbluray/bdj/java/org/videolan/TIMark.java
+++ b/src/libbluray/bdj/java/org/videolan/TIMark.java
@@ -61,12 +61,12 @@ public class TIMark {
return type;
}
- private int index;
- private int type;
- private long start;
- private long duration;
- private long offset;
- private int clip;
+ private final int index;
+ private final int type;
+ private final long start;
+ private final long duration;
+ private final long offset;
+ private final int clip;
public static final int MARK_TYPE_ENTRY = 1;
public static final int MARK_TYPE_LINK = 2;
More information about the libbluray-devel
mailing list