[libbluray-devel] Remove synchronized
hpi1
git at videolan.org
Tue Mar 29 12:50:52 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Mar 28 14:39:06 2016 +0300| [073f6656eca2fba77855c01bb2ba24fb786e6fbb] | committer: hpi1
Remove synchronized
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=073f6656eca2fba77855c01bb2ba24fb786e6fbb
---
src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java b/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
index d42eff7..63b14d8 100644
--- a/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
+++ b/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
@@ -39,16 +39,16 @@ class BDOffScreenImageSource implements ImageProducer {
this.buffer = buffer;
}
- public synchronized void addConsumer(ImageConsumer ic) {
+ public void addConsumer(ImageConsumer ic) {
consumer = ic;
produce();
}
- public synchronized boolean isConsumer(ImageConsumer ic) {
+ public boolean isConsumer(ImageConsumer ic) {
return (ic == consumer);
}
- public synchronized void removeConsumer(ImageConsumer ic) {
+ public void removeConsumer(ImageConsumer ic) {
if (consumer == ic) {
consumer = null;
}
More information about the libbluray-devel
mailing list