[libbluray-devel] Check for null
hpi1
git at videolan.org
Thu Sep 11 11:05:19 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Sep 9 09:34:49 2014 +0300| [d219f33acf24aa89aa9c00a0e86fcec39cf6de41] | committer: hpi1
Check for null
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=d219f33acf24aa89aa9c00a0e86fcec39cf6de41
---
src/libbluray/bdj/java/javax/tv/service/ReadPermission.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libbluray/bdj/java/javax/tv/service/ReadPermission.java b/src/libbluray/bdj/java/javax/tv/service/ReadPermission.java
index df9831b..2f7bd1b 100644
--- a/src/libbluray/bdj/java/javax/tv/service/ReadPermission.java
+++ b/src/libbluray/bdj/java/javax/tv/service/ReadPermission.java
@@ -45,6 +45,8 @@ public final class ReadPermission extends Permission implements Serializable {
public boolean equals(Object obj)
{
+ if (obj == null)
+ return false;
if (this == obj)
return true;
if (getClass() != obj.getClass())
More information about the libbluray-devel
mailing list