Update some comments and log messages
This commit is contained in:
parent
f31b083690
commit
b45a8c9f9b
6 changed files with 8 additions and 8 deletions
|
@ -250,7 +250,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
|
||||||
if (instance == null)
|
if (instance == null)
|
||||||
instance = this;
|
instance = this;
|
||||||
else
|
else
|
||||||
Logger.crash(new LogIssuer(getClass(), CodePart.ENGINE), "Tried reinitializing " + getClass().getName() + " twice");
|
Logger.crash(new LogIssuer(getClass(), CodePart.ENGINE), "Tried initializing " + getClass().getName() + " twice");
|
||||||
|
|
||||||
loadDefaultConfiguration();
|
loadDefaultConfiguration();
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,7 +137,7 @@ public final class GraphicsSubsystem implements SubsystemMainClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shuts the graphics subsystem down.
|
* Shuts the subsystem down.
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -31,7 +31,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides the engine configuration for all classes in a centralized place.
|
* Provides the subsystem configuration for all classes in a centralized place.
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
|
@ -69,7 +69,7 @@ public final class GraphicsSubsystemConfiguration implements SubsystemConfigurat
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If enabled, allows for unintentional behaviour and excess logging.<br/>
|
* If enabled, allows for unintentional behaviour and excess logging.<br/>
|
||||||
* Unless you want to debug or work on a sensitive part of the graphics subsystem, don't enable this!
|
* Unless you want to debug or work on a sensitive part of the subsystem, don't enable this!
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*
|
*
|
||||||
|
@ -108,7 +108,7 @@ public final class GraphicsSubsystemConfiguration implements SubsystemConfigurat
|
||||||
if (instance == null)
|
if (instance == null)
|
||||||
instance = this;
|
instance = this;
|
||||||
else
|
else
|
||||||
Logger.crash(new LogIssuer(getClass(), CodePart.ENGINE), "Tried reinitializing " + getClass().getName() + " twice");
|
Logger.crash(new LogIssuer(getClass(), CodePart.ENGINE), "Tried initializing " + getClass().getName() + " twice");
|
||||||
|
|
||||||
loadDefaultConfiguration();
|
loadDefaultConfiguration();
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ public interface ApiMainClass extends SubsystemMainClass {
|
||||||
String getApiName();
|
String getApiName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the Graphics API's management class.
|
* Returns the API's management class.
|
||||||
*
|
*
|
||||||
* @return a {@link ApiManagementClass}
|
* @return a {@link ApiManagementClass}
|
||||||
* @see ApiManagementClass
|
* @see ApiManagementClass
|
||||||
|
|
|
@ -27,7 +27,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused" })
|
||||||
public interface ApiManagementClass {
|
public interface ApiManagementClass {
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link Window}.
|
* Creates a new {@link Window}.
|
||||||
|
|
|
@ -30,7 +30,7 @@ import java.util.Set;
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused" })
|
||||||
public interface Window {
|
public interface Window {
|
||||||
/**
|
/**
|
||||||
* A set of all active windows.
|
* A set of all active windows.
|
||||||
|
|
Loading…
Reference in a new issue