[libbluray-devel] reduced logging
hpi1
git at videolan.org
Sun May 4 16:52:26 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 29 12:32:35 2014 +0300| [7c83540dfb45fce3e7b818ee2af141a211c860d6] | committer: hpi1
reduced logging
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=7c83540dfb45fce3e7b818ee2af141a211c860d6
---
src/libbluray/bdj/java/org/videolan/BDJListeners.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/libbluray/bdj/java/org/videolan/BDJListeners.java b/src/libbluray/bdj/java/org/videolan/BDJListeners.java
index cd227c0..e97a405 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJListeners.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJListeners.java
@@ -89,11 +89,8 @@ public class BDJListeners {
synchronized (listeners) {
for (Iterator it = listeners.iterator(); it.hasNext(); ) {
BDJListener item = (BDJListener)it.next();
- if (item.ctx == null) {
- logger.error("Listener callback: no context: " + item.listener);
- it.remove();
- } else if (item.ctx.isReleased()) {
- logger.error("Listener terminated: " + item.ctx);
+ if (item.ctx == null || item.ctx.isReleased()) {
+ logger.info("Listener terminated: " + item.ctx);
it.remove();
} else {
item.ctx.putCallback(new Callback(event, item.listener));
More information about the libbluray-devel
mailing list