[libbluray-devel] error on "organization" typo inside FileAccessPermissions.java

Azzuro azzuro at team-mediaportal.com
Mon Dec 18 20:02:08 CET 2017


Hello,

we use your libbluray for play bluray on our MediaCenter Software.

we found an typo error on  " hasReadOrgani*z*ationAccessRight() " and 
the name must be " hasReadOrgani*s*ationAccessRight() "

this error is also available for " hasWriteOrganizationAccessRight() "  
to " hasWriteOrganisationAccessRight() "

on file : 
/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java

i joined the patch based on your last repo commit.

we juste replaced the methods typo.

source forum :

https://forum.team-mediaportal.com/threads/bd-j-menu-bug-on-alien-blu-rays.135633/page-2#post-1210880 


thank you for your good work.

-- 
Azzuro
Team MediaPortal (Tester)
https://www.team-mediaportal.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20171218/5f8fc76c/attachment.html>
-------------- next part --------------
From 656b068e5edc24fcef6ff0c796d8cb1c98440940 Mon Sep 17 00:00:00 2001
From: mm1352000 <music_man1352000 at yahoo.com.au>
Date: Mon, 18 Dec 2017 19:53:47 +0100
Subject: [PATCH] Fix typo for acces permissions to (replace "z" by "s") :
 hasReadOrganisationAccessRight() hasWriteOrganisationAccessRight()

Signed-off-by: Azzuro <Azzuro at users.noreply.github.com>
---
 .../bdj/java/org/dvb/io/persistent/FileAccessPermissions.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java b/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java
index 6458b5e..4461212 100644
--- a/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java
+++ b/src/libbluray/bdj/java/org/dvb/io/persistent/FileAccessPermissions.java
@@ -39,11 +39,11 @@ public class FileAccessPermissions {
         return writeWorld;
     }
 
-    public boolean hasReadOrganizationAccessRight() {
+    public boolean hasReadOrganisationAccessRight() {
         return readOrganization;
     }
 
-    public boolean hasWriteOrganizationAccessRight() {
+    public boolean hasWriteOrganisationAccessRight() {
         return writeOrganization;
     }
 
-- 
2.10.2.windows.1



More information about the libbluray-devel mailing list