[libbluray-devel] Remove unneeded synchronized
hpi1
git at videolan.org
Mon Mar 28 16:03:28 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Mar 28 14:39:41 2016 +0300| [4a4d603819e993398dc3de554800ad0240132fc7] | committer: hpi1
Remove unneeded synchronized
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4a4d603819e993398dc3de554800ad0240132fc7
---
src/libbluray/bdj/java/java/awt/BDGraphicsConfigurationBase.java | 2 +-
src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdj/java/java/awt/BDGraphicsConfigurationBase.java b/src/libbluray/bdj/java/java/awt/BDGraphicsConfigurationBase.java
index c215fab..cc3495c 100644
--- a/src/libbluray/bdj/java/java/awt/BDGraphicsConfigurationBase.java
+++ b/src/libbluray/bdj/java/java/awt/BDGraphicsConfigurationBase.java
@@ -45,7 +45,7 @@ abstract class BDGraphicsConfigurationBase extends GraphicsConfiguration {
return BufferedImage.TYPE_INT_ARGB;
}
- public synchronized ColorModel getColorModel() {
+ public ColorModel getColorModel() {
return new DirectColorModel(ColorSpace.getInstance(ColorSpace.CS_sRGB),
32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000, true,
DataBuffer.TYPE_INT);
diff --git a/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java b/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java
index 0a28cb9..c29c844 100644
--- a/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java
+++ b/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java
@@ -31,7 +31,7 @@ class BDGraphicsEnvironment extends GraphicsEnvironment {
graphicsDevice = new BDGraphicsDevice(this);
}
- public synchronized GraphicsDevice[] getScreenDevices() {
+ public GraphicsDevice[] getScreenDevices() {
return new GraphicsDevice[] { graphicsDevice };
}
More information about the libbluray-devel
mailing list