[libbluray-devel] Remove unneeded mkdir()

hpi1 git at videolan.org
Thu May 4 09:44:04 CEST 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Apr  3 12:01:08 2017 +0300| [8fdcea7becec8f2919cb7d177400023173078624] | committer: hpi1

Remove unneeded mkdir()

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

 src/libbluray/bdj/java/org/videolan/VFSCache.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/VFSCache.java b/src/libbluray/bdj/java/org/videolan/VFSCache.java
index 04bacb55..08f7b2f9 100644
--- a/src/libbluray/bdj/java/org/videolan/VFSCache.java
+++ b/src/libbluray/bdj/java/org/videolan/VFSCache.java
@@ -222,8 +222,6 @@ class VFSCache {
 
     protected synchronized File addFont(InputStream is) {
 
-        new File(fontRoot).mkdirs();
-
         // copy stream to tmp file in fontRoot. freetype can not read streams.
         File tmpFile = null;
         for (int i = 0; i < 100; i++) {



More information about the libbluray-devel mailing list