[libbluray-devel] Use correct type
hpi1
git at videolan.org
Sun Dec 8 00:33:53 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Dec 6 22:13:39 2013 +0200| [f5d0445f320d7abac545b2e92a59305d189ab430] | committer: hpi1
Use correct type
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f5d0445f320d7abac545b2e92a59305d189ab430
---
src/libbluray/bdj/java/org/dvb/event/EventManager.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/libbluray/bdj/java/org/dvb/event/EventManager.java b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
index aa67327..c23ce24 100644
--- a/src/libbluray/bdj/java/org/dvb/event/EventManager.java
+++ b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
@@ -66,7 +66,7 @@ public class EventManager implements ResourceServer {
}
public void removeUserEventListener(UserEventListener listener) {
- XletContext context = BDJXletContext.getCurrentContext();
+ BDJXletContext context = BDJXletContext.getCurrentContext();
synchronized (this) {
for (Iterator it = sharedUserEventListener.iterator(); it.hasNext(); ) {
UserEventItem item = (UserEventItem)it.next();
@@ -97,7 +97,7 @@ public class EventManager implements ResourceServer {
}
public void removeExclusiveAccessToAWTEvent(ResourceClient client) {
- XletContext context = BDJXletContext.getCurrentContext();
+ BDJXletContext context = BDJXletContext.getCurrentContext();
synchronized (this) {
for (Iterator it = exclusiveAWTEventListener.iterator(); it.hasNext(); ) {
UserEventItem item = (UserEventItem)it.next();
@@ -134,7 +134,7 @@ public class EventManager implements ResourceServer {
HScene focusHScene = GUIManager.getInstance().getFocusHScene();
boolean result = false;
if (focusHScene != null) {
- XletContext context = focusHScene.getXletContext();
+ BDJXletContext context = focusHScene.getXletContext();
for (Iterator it = exclusiveAWTEventListener.iterator(); it.hasNext(); ) {
UserEventItem item = (UserEventItem)it.next();
if (item.context == context) {
@@ -189,7 +189,7 @@ public class EventManager implements ResourceServer {
}
private boolean cleanupReservedEvents(UserEventRepository userEvents) {
- XletContext context = BDJXletContext.getCurrentContext();
+ BDJXletContext context = BDJXletContext.getCurrentContext();
for (Iterator it = exclusiveUserEventListener.iterator(); it.hasNext(); ) {
UserEventItem item = (UserEventItem)it.next();
if (item.context == context)
@@ -230,7 +230,7 @@ public class EventManager implements ResourceServer {
}
private class UserEventItem {
- public UserEventItem(XletContext context, UserEventListener listener,
+ public UserEventItem(BDJXletContext context, UserEventListener listener,
ResourceClient client, UserEventRepository userEvents) {
this.context = context;
this.listener = listener;
@@ -238,7 +238,7 @@ public class EventManager implements ResourceServer {
this.userEvents = userEvents;
}
- public XletContext context;
+ public BDJXletContext context;
public UserEventListener listener;
public ResourceClient client;
public UserEventRepository userEvents;
@@ -246,7 +246,7 @@ public class EventManager implements ResourceServer {
private class UserEventAction extends BDJAction {
public UserEventAction(UserEventItem item, int event) {
- super((BDJXletContext)item.context);
+ super(item.context);
this.item = item;
this.event = event;
}
More information about the libbluray-devel
mailing list