interface just a bit better here?
This commit is contained in:
parent
b9b8a4f6ad
commit
137ebb21db
|
@ -5,11 +5,11 @@ import java.net.URISyntaxException;
|
|||
import java.net.URL;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
public class rusEFIVersion {
|
||||
public static final int CONSOLE_VERSION = 20230925;
|
||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
public interface rusEFIVersion {
|
||||
int CONSOLE_VERSION = 20230925;
|
||||
AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||
|
||||
public static long classBuildTimeMillis() {
|
||||
static long classBuildTimeMillis() {
|
||||
Class<?> clazz = rusEFIVersion.class;
|
||||
URL resource = clazz.getResource(clazz.getSimpleName() + ".class");
|
||||
if (resource == null) {
|
||||
|
|
|
@ -20,7 +20,7 @@ import static com.devexperts.logging.Logging.getLogging;
|
|||
* @see StartupFrame
|
||||
* @see EngineSnifferPanel
|
||||
*/
|
||||
public class Launcher extends rusEFIVersion {
|
||||
public class Launcher implements rusEFIVersion {
|
||||
private static final Logging log = getLogging(Launcher.class);
|
||||
public static final String INPUT_FILES_PATH = System.getProperty("input_files_path", "..");
|
||||
public static final String TOOLS_PATH = System.getProperty("tools_path", ".");
|
||||
|
|
Loading…
Reference in New Issue