[libbluray-devel] Fix org.davic.media.MediaTimeEvent

hpi1 git at videolan.org
Wed Apr 13 10:20:01 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr  6 19:06:51 2016 +0300| [04320c00dbee44cc255852b4835f62fb48348ebe] | committer: hpi1

Fix org.davic.media.MediaTimeEvent

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=04320c00dbee44cc255852b4835f62fb48348ebe
---

 src/libbluray/bdj/java/org/davic/media/MediaTimeEvent.java |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/libbluray/bdj/java/org/davic/media/MediaTimeEvent.java b/src/libbluray/bdj/java/org/davic/media/MediaTimeEvent.java
index af98190..9f39a41 100644
--- a/src/libbluray/bdj/java/org/davic/media/MediaTimeEvent.java
+++ b/src/libbluray/bdj/java/org/davic/media/MediaTimeEvent.java
@@ -19,8 +19,9 @@
 
 package org.davic.media;
 
-public class MediaTimeEvent {
+public class MediaTimeEvent extends java.util.EventObject {
     public MediaTimeEvent(Object source, long eventTime, int ID) {
+        super(source);
         this.source = source;
         this.eventTime = eventTime;
         this.eventId = ID;
@@ -38,7 +39,7 @@ public class MediaTimeEvent {
         return source;
     }
 
-    private Object source;
-    private long eventTime;
-    private int eventId;
+    private final Object source;
+    private final long eventTime;
+    private final int eventId;
 }



More information about the libbluray-devel mailing list