[libbluray-devel] Return empty array instead of null

Rik Smith git at videolan.org
Thu Apr 11 18:03:12 CEST 2013


libbluray | branch: master | Rik Smith <webmaster at rsmith.nl> | Thu Apr 11 18:30:55 2013 +0300| [b51bfabfdf0df582dddc714b754d98e3eadf2941] | committer: hpi1

Return empty array instead of null

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

 src/libbluray/bdj/java/org/bluray/vfs/VFSManager.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/bluray/vfs/VFSManager.java b/src/libbluray/bdj/java/org/bluray/vfs/VFSManager.java
index 3ef0093..a525c9e 100644
--- a/src/libbluray/bdj/java/org/bluray/vfs/VFSManager.java
+++ b/src/libbluray/bdj/java/org/bluray/vfs/VFSManager.java
@@ -51,7 +51,7 @@ public class VFSManager {
     public String[] getDisabledClipIDs()
     {
         logger.unimplemented("getDisabledClipIDs");
-        return null;
+        return new String[]{};
     }
 
     public int getState()



More information about the libbluray-devel mailing list