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

java: this does not need to be a Thread

It is just being used as a Runnable

Change-Id: I1e652ab0f3b0450d3a85384b9dd513419e2f8046
üst e92d3e90
...@@ -400,7 +400,7 @@ public class EventTest { ...@@ -400,7 +400,7 @@ public class EventTest {
* press a key with the <CODE>Robot</CODE> class * press a key with the <CODE>Robot</CODE> class
* @see java.awt.Robot * @see java.awt.Robot
*/ */
private class EventTrigger extends Thread{ private class EventTrigger implements Runnable {
/** /**
* represents an <CODE>EventType</CODE> * represents an <CODE>EventType</CODE>
...@@ -439,7 +439,6 @@ public class EventTest { ...@@ -439,7 +439,6 @@ public class EventTest {
* </LI> * </LI>
* </UL> * </UL>
*/ */
@Override
public void run(){ public void run(){
switch (this.eventType){ switch (this.eventType){
......
...@@ -395,7 +395,7 @@ public class _XUserInputInterception extends MultiMethodTest { ...@@ -395,7 +395,7 @@ public class _XUserInputInterception extends MultiMethodTest {
* press a key with the <CODE>Robot</CODE> class * press a key with the <CODE>Robot</CODE> class
* @see java.awt.Robot * @see java.awt.Robot
*/ */
private class EventTrigger extends Thread{ private class EventTrigger implements Runnable {
/** /**
* represents an <CODE>EventType</CODE> * represents an <CODE>EventType</CODE>
...@@ -434,7 +434,6 @@ public class _XUserInputInterception extends MultiMethodTest { ...@@ -434,7 +434,6 @@ public class _XUserInputInterception extends MultiMethodTest {
* </LI> * </LI>
* </UL> * </UL>
*/ */
@Override
public void run(){ public void run(){
switch (this.eventType){ switch (this.eventType){
......
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