3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-19 14:30:17 +01:00

javadoc typos, log application type as info for now

Dieser Commit ist enthalten in:
onebeastchris 2024-06-27 17:26:49 +02:00
Ursprung b6d404ef00
Commit e214fbe277
3 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -43,7 +43,7 @@ public abstract class SessionLoadResourcePacksEvent extends ConnectionEvent {
}
/**
* Gets an unmodifiable list of {@link ResourcePack}s that will be sent to the client.
* Gets an unmodifiable list of {@link ResourcePack}'s that will be sent to the client.
*
* @return an unmodifiable list of resource packs that will be sent to the client.
*/
@ -59,9 +59,9 @@ public abstract class SessionLoadResourcePacksEvent extends ConnectionEvent {
public abstract boolean register(@NonNull ResourcePack resourcePack);
/**
* Registers a collection of {@link ResourcePack} to be sent to clients.
* Registers a collection of {@link ResourcePack}'s to be sent to clients.
*
* @param resourcePacks collection of resourcePack's that will be sent to clients.
* @param resourcePacks collection of resource pack's that will be sent to clients
*/
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);

Datei anzeigen

@ -39,7 +39,7 @@ import java.util.UUID;
public abstract class GeyserDefineResourcePacksEvent implements Event {
/**
* Gets an unmodifiable list of {@link ResourcePack}s that will be sent to clients.
* Gets an unmodifiable list of {@link ResourcePack}'s that will be sent to clients.
*
* @return an unmodifiable list of resource packs that will be sent to clients.
*/
@ -55,9 +55,9 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
public abstract boolean register(@NonNull ResourcePack resourcePack);
/**
* Registers a collection of {@link ResourcePack} to be sent to clients.
* Registers a collection of {@link ResourcePack}'s to be sent to clients.
*
* @param resourcePacks collection of resourcePack's that will be sent to clients.
* @param resourcePacks a collection of resource pack's that will be sent to clients.
*/
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);

Datei anzeigen

@ -133,7 +133,7 @@ public class WebUtils {
// This doesn't seem to be a requirement (anymore?). Logging to debug as it might be interesting though.
if (type == null || !type.equals("application/zip")) {
logger.debug(String.format("Application type from remote pack at URL: %s (type: %s)", url, type));
logger.info(String.format("Application type from remote pack at URL: %s (type: %s)", url, type));
}
Path packMetadata = REMOTE_PACK_CACHE.resolve(url.hashCode() + ".metadata");