This commit is contained in:
Hannes Janetzek
2013-03-18 03:55:04 +01:00
parent 45b8bf75de
commit 76f762d862
2 changed files with 1 additions and 13 deletions

View File

@@ -58,7 +58,6 @@ public abstract class PausableThread extends Thread {
public final synchronized void pause() {
if (!mShouldPause) {
mShouldPause = true;
takeabreak();
notify();
}
}
@@ -118,10 +117,6 @@ public abstract class PausableThread extends Thread {
// do nothing
}
protected void takeabreak() {
// do nothing
}
/**
* Called once at the end of the {@link #run()} method. The default
* implementation is empty.