Don't need to expose classes outside the package

DDSHeader, DDSReader, DDSType
This commit is contained in:
Paul Allen
2024-09-24 11:02:13 +01:00
parent a648d1a327
commit e95d403a5f
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ public final class DDSHeader {
private int blueMask;
private int alphaMask;
public static DDSHeader read(final ImageInputStream imageInput) throws IOException {
static DDSHeader read(final ImageInputStream imageInput) throws IOException {
DDSHeader header = new DDSHeader();
imageInput.setByteOrder(ByteOrder.LITTLE_ENDIAN);

View File

@@ -18,7 +18,7 @@ import javax.imageio.IIOException;
import javax.imageio.stream.ImageInputStream;
import java.io.IOException;
public final class DDSReader {
final class DDSReader {
public static final Order order = new Order(16, 8, 0, 24);

View File

@@ -2,7 +2,7 @@ package com.twelvemonkeys.imageio.plugins.dds;
import javax.imageio.IIOException;
public enum DDSType {
enum DDSType {
DXT1(0x31545844),
DXT2(0x32545844),