Reformat rest of the design patterns - Issue #224

This commit is contained in:
Ankur Kaushal committed 2015-11-01 21:29:13 -05:00
1 parent 449340bd2b
commit 306b1f3d31
337 files changed
+6740 -6847

No files matched your search

@@ -7,14 +7,14 @@ package com.iluwatar.threadpool;
*/
public class PotatoPeelingTask extends Task {
private static final int TIME_PER_POTATO = 500;
public PotatoPeelingTask(int numPotatoes) {
super(numPotatoes * TIME_PER_POTATO);
}
@Override
public String toString() {
return String.format("%s %s", this.getClass().getSimpleName(), super.toString());
}
private static final int TIME_PER_POTATO = 500;
public PotatoPeelingTask(int numPotatoes) {
super(numPotatoes * TIME_PER_POTATO);
}
@Override
public String toString() {
return String.format("%s %s", this.getClass().getSimpleName(), super.toString());
}
}