[libbluray-devel] Simplify DVBGraphics class
hpi1
git at videolan.org
Wed Apr 6 10:25:04 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar 29 11:41:00 2016 +0300| [27254f600ed799e18569679ab7674b47e44b8196] | committer: hpi1
Simplify DVBGraphics class
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=27254f600ed799e18569679ab7674b47e44b8196
---
src/libbluray/bdj/java-j2me/org/dvb/ui/DVBGraphicsImpl.java | 5 ++++-
src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java | 5 ++++-
src/libbluray/bdj/java/org/dvb/ui/DVBGraphics.java | 5 -----
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/libbluray/bdj/java-j2me/org/dvb/ui/DVBGraphicsImpl.java b/src/libbluray/bdj/java-j2me/org/dvb/ui/DVBGraphicsImpl.java
index 93cd308..474c059 100644
--- a/src/libbluray/bdj/java-j2me/org/dvb/ui/DVBGraphicsImpl.java
+++ b/src/libbluray/bdj/java-j2me/org/dvb/ui/DVBGraphicsImpl.java
@@ -36,9 +36,12 @@ import java.awt.image.ImageObserver;
import java.text.AttributedCharacterIterator;
public class DVBGraphicsImpl extends DVBGraphics {
+
+ private Graphics2D gfx;
+
protected DVBGraphicsImpl(Graphics2D gfx)
{
- super(gfx);
+ this.gfx = gfx;
}
/*
diff --git a/src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java b/src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java
index 6600634..d429f1d 100644
--- a/src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java
+++ b/src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java
@@ -46,9 +46,12 @@ import java.text.AttributedCharacterIterator;
import java.util.Map;
public class DVBGraphicsImpl extends DVBGraphics {
+
+ private Graphics2D gfx;
+
protected DVBGraphicsImpl(Graphics2D gfx)
{
- super(gfx);
+ this.gfx = gfx;
}
/*
diff --git a/src/libbluray/bdj/java/org/dvb/ui/DVBGraphics.java b/src/libbluray/bdj/java/org/dvb/ui/DVBGraphics.java
index dc75134..18613b2 100644
--- a/src/libbluray/bdj/java/org/dvb/ui/DVBGraphics.java
+++ b/src/libbluray/bdj/java/org/dvb/ui/DVBGraphics.java
@@ -23,10 +23,6 @@ import java.awt.Color;
import java.awt.Graphics2D;
public abstract class DVBGraphics extends Graphics2D {
- protected DVBGraphics(Graphics2D gfx)
- {
- this.gfx = gfx;
- }
public abstract int[] getAvailableCompositeRules();
@@ -55,5 +51,4 @@ public abstract class DVBGraphics extends Graphics2D {
}
protected int type = DVBBufferedImage.TYPE_BASE;
- protected Graphics2D gfx;
}
More information about the libbluray-devel
mailing list