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

cid#1327138 UrF: Unread field

Change-Id: I3454f75c9662c76203dd7a2a5e74827bf6d9baf8
üst 971069f4
...@@ -46,8 +46,6 @@ public class _XRadioButton extends MultiMethodTest { ...@@ -46,8 +46,6 @@ public class _XRadioButton extends MultiMethodTest {
* Listener implementation which sets flags on appropriate method calls * Listener implementation which sets flags on appropriate method calls
*/ */
protected static class TestItemListener implements com.sun.star.awt.XItemListener { protected static class TestItemListener implements com.sun.star.awt.XItemListener {
public boolean disposingCalled = false ;
public boolean itemStateChangedCalled = false ;
private final java.io.PrintWriter log; private final java.io.PrintWriter log;
public TestItemListener(java.io.PrintWriter log) { public TestItemListener(java.io.PrintWriter log) {
...@@ -55,12 +53,10 @@ public class _XRadioButton extends MultiMethodTest { ...@@ -55,12 +53,10 @@ public class _XRadioButton extends MultiMethodTest {
} }
public void disposing(com.sun.star.lang.EventObject e) { public void disposing(com.sun.star.lang.EventObject e) {
disposingCalled = true ;
log.println(" disposing was called.") ; log.println(" disposing was called.") ;
} }
public void itemStateChanged(com.sun.star.awt.ItemEvent e) { public void itemStateChanged(com.sun.star.awt.ItemEvent e) {
itemStateChangedCalled = true ;
log.println(" itemStateChanged was called.") ; log.println(" itemStateChanged was called.") ;
} }
......
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