[libbluray-devel] Fix remounting: extract files only once

hpi1 git at videolan.org
Fri May 22 11:13:26 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri May 22 11:50:33 2015 +0300| [435399d8c55eaf3f3c1b869733c1c5ef114646b7] | committer: hpi1

Fix remounting: extract files only once

Class files were extracted every time when .jar was remounted.

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

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

diff --git a/src/libbluray/bdj/java/org/videolan/MountManager.java b/src/libbluray/bdj/java/org/videolan/MountManager.java
index 83d6870..aea3c4a 100644
--- a/src/libbluray/bdj/java/org/videolan/MountManager.java
+++ b/src/libbluray/bdj/java/org/videolan/MountManager.java
@@ -274,8 +274,8 @@ public class MountManager {
             return classFiles;
         }
 
-        public boolean setClassFiles() {
-            return classFiles == true;
+        public void setClassFiles() {
+            classFiles = true;
         }
 
         private File dir;



More information about the libbluray-devel mailing list