[libbluray-devel] javax.tv.graphics.TVContainer: log errors
hpi1
git at videolan.org
Wed Apr 6 10:35:21 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 5 12:24:22 2016 +0300| [4edf5cd6ec4adb2da9853b05f6ad229436f931dc] | committer: hpi1
javax.tv.graphics.TVContainer: log errors
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4edf5cd6ec4adb2da9853b05f6ad229436f931dc
---
src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java b/src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java
index 09971b6..a6c0b28 100644
--- a/src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java
+++ b/src/libbluray/bdj/java/javax/tv/graphics/TVContainer.java
@@ -23,16 +23,18 @@ import javax.tv.xlet.XletContext;
import org.havi.ui.HSceneFactory;
import org.videolan.BDJXletContext;
+import org.videolan.Logger;
public class TVContainer {
public static Container getRootContainer(XletContext context)
{
if (context == null) {
+ Logger.getLogger(TVContainer.class.getName()).error("null context");
throw new NullPointerException();
}
if (!(context instanceof BDJXletContext) || (BDJXletContext)context != BDJXletContext.getCurrentContext()) {
- org.videolan.Logger.getLogger(TVContainer.class.getName()).error("wrong context");
+ Logger.getLogger(TVContainer.class.getName()).error("wrong context");
}
/* GEM: return instance of org.havi.ui.HScene or NULL */
More information about the libbluray-devel
mailing list