[libbluray-devel] BDImageBase: Remove useless synchronized

hpi1 git at videolan.org
Wed Aug 27 10:48:46 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Aug 27 11:05:12 2014 +0300| [b7c56a911cec67904369ced0bc1d2136f1fe77d8] | committer: hpi1

BDImageBase: Remove useless synchronized

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

 src/libbluray/bdj/java/java/awt/BDImageBase.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/java/awt/BDImageBase.java b/src/libbluray/bdj/java/java/awt/BDImageBase.java
index e41580e..0cf7b7f 100644
--- a/src/libbluray/bdj/java/java/awt/BDImageBase.java
+++ b/src/libbluray/bdj/java/java/awt/BDImageBase.java
@@ -218,7 +218,7 @@ class BDImageBase extends Image {
         return rgbArray;
     }
 
-    public synchronized void setRGB(int x, int y, int rgb) {
+    public void setRGB(int x, int y, int rgb) {
         backBuffer[y * width + x] = rgb;
 
         dirty.add(x, y);



More information about the libbluray-devel mailing list