[libbluray-devel] Drop unneeded me/se versions of BDGraphicsDevice

hpi1 git at videolan.org
Sun Sep 2 10:33:03 CEST 2018


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Sep  2 11:14:55 2018 +0300| [e312806db4ef3dc7d846e7d5018d880f91186fe2] | committer: hpi1

Drop unneeded me/se versions of BDGraphicsDevice

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

 .../bdj/java-j2me/java/awt/BDGraphicsDevice.java   | 26 -----------------
 .../bdj/java-j2se/java/awt/BDGraphicsDevice.java   | 33 ----------------------
 ...aphicsDeviceImpl.java => BDGraphicsDevice.java} |  6 ++--
 3 files changed, 3 insertions(+), 62 deletions(-)

diff --git a/src/libbluray/bdj/java-j2me/java/awt/BDGraphicsDevice.java b/src/libbluray/bdj/java-j2me/java/awt/BDGraphicsDevice.java
deleted file mode 100644
index 87c0ddc7..00000000
--- a/src/libbluray/bdj/java-j2me/java/awt/BDGraphicsDevice.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This file is part of libbluray
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-package java.awt;
-
-class BDGraphicsDevice extends BDGraphicsDeviceImpl {
-
-    BDGraphicsDevice(BDGraphicsEnvironment environment) {
-        super(environment);
-    }
-}
diff --git a/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java b/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java
deleted file mode 100644
index ba5553c9..00000000
--- a/src/libbluray/bdj/java-j2se/java/awt/BDGraphicsDevice.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * This file is part of libbluray
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-package java.awt;
-
-class BDGraphicsDevice extends BDGraphicsDeviceImpl {
-
-    BDGraphicsDevice(BDGraphicsEnvironment environment) {
-        super(environment);
-    }
-
-    /* J2SE java 7 */
-    /*
-    public boolean isWindowTranslucencySupported(GraphicsDevice.WindowTranslucency translucencyKind) {
-        return true;
-    }
-    */
-}
diff --git a/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java b/src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java
similarity index 89%
rename from src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java
rename to src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java
index 5dbdf9a8..aa3c0a4e 100644
--- a/src/libbluray/bdj/java/java/awt/BDGraphicsDeviceImpl.java
+++ b/src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java
@@ -18,11 +18,11 @@
 
 package java.awt;
 
-class BDGraphicsDeviceImpl extends GraphicsDevice {
+class BDGraphicsDevice extends GraphicsDevice {
     private BDGraphicsConfiguration configuration;
 
-    BDGraphicsDeviceImpl(BDGraphicsEnvironment environment) {
-        configuration = new BDGraphicsConfiguration((BDGraphicsDevice)this);
+    BDGraphicsDevice(BDGraphicsEnvironment environment) {
+        configuration = new BDGraphicsConfiguration(this);
     }
 
     public int getType() {



More information about the libbluray-devel mailing list