Force subclass to override system name
This commit is contained in:
@@ -25,9 +25,7 @@ import java.util.Map;
|
|||||||
import com.sheepit.client.hardware.cpu.CPU;
|
import com.sheepit.client.hardware.cpu.CPU;
|
||||||
|
|
||||||
public abstract class OS {
|
public abstract class OS {
|
||||||
public String name() {
|
public abstract String name();
|
||||||
return "others";
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract CPU getCPU();
|
public abstract CPU getCPU();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user