[libbluray-devel] org.dvb.ui.DVBColor: improve compatibility

hpi1 git at videolan.org
Wed Apr 13 11:34:38 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr 13 12:23:12 2016 +0300| [9acfd9f5fc7bb2fec879a326e94cc43a5955fbaa] | committer: hpi1

org.dvb.ui.DVBColor: improve compatibility

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

 src/libbluray/bdj/java/org/dvb/ui/DVBColor.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/dvb/ui/DVBColor.java b/src/libbluray/bdj/java/org/dvb/ui/DVBColor.java
index 8abbf5e..090e1a0 100644
--- a/src/libbluray/bdj/java/org/dvb/ui/DVBColor.java
+++ b/src/libbluray/bdj/java/org/dvb/ui/DVBColor.java
@@ -40,11 +40,11 @@ public class DVBColor extends AlphaColor {
     }
 
     public Color brighter() {
-        return super.brighter();
+        return new DVBColor(super.brighter());
     }
 
     public Color darker() {
-        return super.darker();
+        return new DVBColor(super.darker());
     }
 
     public boolean equals(Object obj) {



More information about the libbluray-devel mailing list