Kaydet (Commit) 1b1294ca authored tarafından Noel Grandin's avatar Noel Grandin

cid#1327136 UrF: Unread field

Change-Id: Id12e6d6eb0f372ee92c77754fe13cd391cf1bacb
üst b8f0a48c
...@@ -48,10 +48,6 @@ public class _XImageProducer extends MultiMethodTest { ...@@ -48,10 +48,6 @@ public class _XImageProducer extends MultiMethodTest {
protected static class TestImageConsumer implements XImageConsumer { protected static class TestImageConsumer implements XImageConsumer {
PrintWriter log = null ; PrintWriter log = null ;
public boolean initCalled = false ; public boolean initCalled = false ;
public boolean setColorModelCalled = false ;
public boolean setPixelsByBytesCalled = false ;
public boolean setPixelsByLongsCalled = false ;
public boolean completeCalled = false ;
TestImageConsumer(PrintWriter log) { TestImageConsumer(PrintWriter log) {
log.println("### Consumer initialized" ) ; log.println("### Consumer initialized" ) ;
...@@ -65,28 +61,21 @@ public class _XImageProducer extends MultiMethodTest { ...@@ -65,28 +61,21 @@ public class _XImageProducer extends MultiMethodTest {
public void setColorModel(short bitCount, int[] RGBAPal, public void setColorModel(short bitCount, int[] RGBAPal,
int redMask, int greenMask, int blueMask, int alphaMask) { int redMask, int greenMask, int blueMask, int alphaMask) {
log.println("### setColorModel() called") ; log.println("### setColorModel() called") ;
setColorModelCalled = true ;
} }
public void setPixelsByBytes(int x, int y, int width, int height, public void setPixelsByBytes(int x, int y, int width, int height,
byte[] data, int offset, int scanSize) { byte[] data, int offset, int scanSize) {
log.println("### setPixelByBytes() called") ; log.println("### setPixelByBytes() called") ;
setPixelsByBytesCalled = true ;
} }
public void setPixelsByLongs(int x, int y, int width, int height, public void setPixelsByLongs(int x, int y, int width, int height,
int[] data, int offset, int scanSize) { int[] data, int offset, int scanSize) {
log.println("### setPixelByLongs() called") ; log.println("### setPixelByLongs() called") ;
setPixelsByLongsCalled = true ;
} }
public void complete(int status, XImageProducer prod) { public void complete(int status, XImageProducer prod) {
log.println("### complete() called") ; log.println("### complete() called") ;
completeCalled = true ;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment