ditch NullProgressable

This commit is contained in:
Vincent Breitmoser
2014-08-30 18:32:29 +02:00
parent 8981fcf93d
commit 56f760e3f8
4 changed files with 8 additions and 40 deletions

View File

@@ -28,6 +28,10 @@ public class ProgressScaler implements Progressable {
final Progressable mWrapped;
final int mFrom, mTo, mMax;
public ProgressScaler() {
mWrapped = null;
mFrom = mTo = mMax = 0;
}
public ProgressScaler(Progressable wrapped, int from, int to, int max) {
this.mWrapped = wrapped;
this.mFrom = from;