[libbluray-devel] Fix ProgramScheduleEvent

hpi1 git at videolan.org
Thu Sep 11 11:05:19 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 11 10:39:07 2014 +0300| [1eac85c4170991e2c9b08403027e37cb730722e1] | committer: hpi1

Fix ProgramScheduleEvent

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

 .../bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java b/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java
index 5cdf316..31baf9c 100644
--- a/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java
+++ b/src/libbluray/bdj/java/javax/tv/service/guide/ProgramScheduleEvent.java
@@ -31,16 +31,13 @@ public class ProgramScheduleEvent extends SIChangeEvent {
 
     public ProgramSchedule getProgramSchedule()
     {
-        return schedule;
+        return (ProgramSchedule)getSource();
     }
 
     public ProgramEvent getProgramEvent()
     {
-        return event;
+        return (ProgramEvent)getSIElement();
     }
-    
+
     private static final long serialVersionUID = 5317004528244521709L;
-    protected ProgramSchedule schedule;
-    protected SIChangeType type;
-    protected ProgramEvent event;
 }



More information about the libbluray-devel mailing list