[libbluray-devel] Cosmetics

hpi1 git at videolan.org
Tue Dec 1 13:21:42 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Nov 26 12:34:27 2015 +0200| [62ee69e5e2628ccf5f46503791cc7600b359dc37] | committer: hpi1

Cosmetics

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

 src/libbluray/bdj/java/org/bluray/net/BDLocator.java         |   10 +++++-----
 .../bdj/java/org/dvb/io/persistent/FileAttributes.java       |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/libbluray/bdj/java/org/bluray/net/BDLocator.java b/src/libbluray/bdj/java/org/bluray/net/BDLocator.java
index 6b747cc..a0b593b 100644
--- a/src/libbluray/bdj/java/org/bluray/net/BDLocator.java
+++ b/src/libbluray/bdj/java/org/bluray/net/BDLocator.java
@@ -29,11 +29,11 @@ public class BDLocator extends Locator {
         super(url);
         try {
 
-        if (!url.startsWith("bd://"))
-            throw new InvalidLocatorException();
-        String str = url.substring(5);
-        if (!parseJar(str) && !parseSound(str) && !parsePlaylist(str))
-            throw new InvalidLocatorException();
+            if (!url.startsWith("bd://"))
+                throw new InvalidLocatorException();
+            String str = url.substring(5);
+            if (!parseJar(str) && !parseSound(str) && !parsePlaylist(str))
+                throw new InvalidLocatorException();
 
         } catch (InvalidLocatorException e) {
             System.err.println("Invalid locator: " + url);
diff --git a/src/libbluray/bdj/java/org/dvb/io/persistent/FileAttributes.java b/src/libbluray/bdj/java/org/dvb/io/persistent/FileAttributes.java
index 4c941ff..65c3d29 100644
--- a/src/libbluray/bdj/java/org/dvb/io/persistent/FileAttributes.java
+++ b/src/libbluray/bdj/java/org/dvb/io/persistent/FileAttributes.java
@@ -78,9 +78,9 @@ public class FileAttributes {
     {
         boolean r = f.canRead();
         boolean w = f.canWrite();
-        
+
         FileAccessPermissions permissions = new FileAccessPermissions(r, w, r, w, r, w);
-        
+
         return new FileAttributes(null, permissions, PRIORITY_LOW);
     }
 



More information about the libbluray-devel mailing list