[libbluray-devel] Make static analyzer happy

hpi1 git at videolan.org
Sun Aug 7 13:33:27 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Aug  7 13:52:18 2016 +0300| [bcaa3940f3b94410af8d2b015daa40681805e9b5] | committer: hpi1

Make static analyzer happy

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

 src/libbluray/bdj/java/org/dvb/application/AppsDatabase.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/dvb/application/AppsDatabase.java b/src/libbluray/bdj/java/org/dvb/application/AppsDatabase.java
index daf92c2..e177da5 100644
--- a/src/libbluray/bdj/java/org/dvb/application/AppsDatabase.java
+++ b/src/libbluray/bdj/java/org/dvb/application/AppsDatabase.java
@@ -21,6 +21,7 @@ package org.dvb.application;
 
 import java.util.LinkedList;
 import java.util.Enumeration;
+import java.util.Collections;
 import org.videolan.BDJAppsDatabase;
 import org.videolan.BDJListeners;
 import org.videolan.Logger;
@@ -37,12 +38,12 @@ public class AppsDatabase {
 
     public Enumeration getAppIDs(AppsDatabaseFilter filter) {
         logger.unimplemented("getAppIDs");
-        return null;
+        return Collections.emptyEnumeration();
     }
 
     public Enumeration getAppAttributes(AppsDatabaseFilter filter) {
         logger.unimplemented("getAppAttributes");
-        return null;
+        return Collections.emptyEnumeration();
     }
 
     public AppAttributes getAppAttributes(AppID key) {



More information about the libbluray-devel mailing list