[libbluray-devel] Fix indentation in CacheDir class

tourettes git at videolan.org
Fri Mar 6 08:54:10 CET 2015


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Thu Mar  5 22:10:44 2015 +0200| [a48d6c7cc3e93129c72761957ed90b00e90be24c] | committer: hpi1

Fix indentation in CacheDir class

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

 src/libbluray/bdj/java/org/videolan/CacheDir.java |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/CacheDir.java b/src/libbluray/bdj/java/org/videolan/CacheDir.java
index 22f5ea2..83350cf 100644
--- a/src/libbluray/bdj/java/org/videolan/CacheDir.java
+++ b/src/libbluray/bdj/java/org/videolan/CacheDir.java
@@ -101,17 +101,17 @@ class CacheDir {
     private static void removeImpl(File dir) {
         String[] files = BDFileSystem.nativeList(dir);
         if (files != null) {
-        for (int i = 0; i < files.length; i++) {
-            File file = new File(dir, files[i]);
-            if (file.isDirectory()) {
-                removeImpl(file);
-            } else {
-                if (!file.delete()) {
-                    logger.info("Error removing " + file.getPath());
+            for (int i = 0; i < files.length; i++) {
+                File file = new File(dir, files[i]);
+                if (file.isDirectory()) {
+                    removeImpl(file);
+                } else {
+                    if (!file.delete()) {
+                        logger.info("Error removing " + file.getPath());
+                    }
                 }
             }
         }
-        }
 
         if (!dir.delete()) {
             logger.error("Error removing " + dir.getPath());



More information about the libbluray-devel mailing list