Reorganized code to be more object-oriented.

This commit is contained in:
2022-07-06 10:05:38 -04:00
parent e4abb0d84d
commit 3aa3b64e1c
11 changed files with 121 additions and 74 deletions

View File

@@ -11,7 +11,7 @@ package dev.logal.crabstero;
import java.util.concurrent.ThreadFactory;
public final class CrabsteroThreadFactory implements ThreadFactory {
private static int threadNumber = 1;
private int threadNumber = 1;
@Override
public Thread newThread(final Runnable runnable) {