Update some comments and log messages

This commit is contained in:
JeremyStar™ 2024-06-25 02:07:46 +02:00
parent f31b083690
commit b45a8c9f9b
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
6 changed files with 8 additions and 8 deletions

View file

@ -250,7 +250,7 @@ public final class EngineConfiguration implements SubsystemConfiguration {
if (instance == null)
instance = this;
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();
}

View file

@ -137,7 +137,7 @@ public final class GraphicsSubsystem implements SubsystemMainClass {
}
/**
* Shuts the graphics subsystem down.
* Shuts the subsystem down.
*
* @since 1-alpha0
*/

View file

@ -31,7 +31,7 @@ import org.jetbrains.annotations.Nullable;
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
*/
@ -69,7 +69,7 @@ public final class GraphicsSubsystemConfiguration implements SubsystemConfigurat
/**
* 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
*
@ -108,7 +108,7 @@ public final class GraphicsSubsystemConfiguration implements SubsystemConfigurat
if (instance == null)
instance = this;
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();
}

View file

@ -50,7 +50,7 @@ public interface ApiMainClass extends SubsystemMainClass {
String getApiName();
/**
* Returns the Graphics API's management class.
* Returns the API's management class.
*
* @return a {@link ApiManagementClass}
* @see ApiManagementClass

View file

@ -27,7 +27,7 @@ import org.jetbrains.annotations.NotNull;
*
* @since 1-alpha0
*/
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
@SuppressWarnings({ "unused" })
public interface ApiManagementClass {
/**
* Creates a new {@link Window}.

View file

@ -30,7 +30,7 @@ import java.util.Set;
*
* @since 1-alpha0
*/
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
@SuppressWarnings({ "unused" })
public interface Window {
/**
* A set of all active windows.