[libbluray-devel] Mark shutdown() and accessFile() package-private

hpi1 git at videolan.org
Tue Mar 3 13:05:11 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar  3 13:52:18 2015 +0200| [e5d8451385bdf7e69f752d8d958f53e2eb57fe29] | committer: hpi1

Mark shutdown() and accessFile() package-private

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

 src/libbluray/bdj/java/org/videolan/BDJLoader.java |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/BDJLoader.java b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
index ae4bc18..6edffbc 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJLoader.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
@@ -44,6 +44,7 @@ import org.videolan.media.content.PlayerManager;
 
 public class BDJLoader {
 
+    /* called by org.dvb.ui.FontFactory */
     public static File addFont(InputStream is) {
         VFSCache localCache = vfsCache;
         if (localCache != null) {
@@ -52,6 +53,7 @@ public class BDJLoader {
         return null;
     }
 
+    /* called by org.dvb.ui.FontFactory */
     public static File addFont(String fontFile) {
         VFSCache localCache = vfsCache;
         if (localCache != null) {
@@ -60,7 +62,8 @@ public class BDJLoader {
         return null;
     }
 
-    public static void accessFile(String file) {
+    /* called by BDJSecurityManager */
+    protected static void accessFile(String file) {
         VFSCache localCache = vfsCache;
         if (localCache != null) {
             localCache.accessFile(file);
@@ -99,7 +102,7 @@ public class BDJLoader {
         return true;
     }
 
-    public static void shutdown() {
+    protected static void shutdown() {
         try {
             queue.shutdown();
         } catch (Throwable e) {



More information about the libbluray-devel mailing list