We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67310b commit f4c4f4bCopy full SHA for f4c4f4b
twin/src/main/java/com/iluwatar/twin/BallThread.java
@@ -32,7 +32,6 @@
32
* This class is a UI thread for drawing the {@link BallItem}, and provides methods for suspend
33
* and resume. It holds the reference of {@link BallItem} to delegate the draw task.
34
*/
35
-
36
@Slf4j
37
public class BallThread extends Thread {
38
@@ -43,6 +42,11 @@ public class BallThread extends Thread {
43
42
private final Object lock = new Object();
44
private final BallItem twin;
45
+ /**
46
+ * Constructor.
47
+ *
48
+ * @param twin the BallItem instance
49
+ */
50
public BallThread(BallItem twin) {
51
this.twin = twin;
52
}
0 commit comments