Skip to content

Commit

Permalink
Checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka committed Sep 26, 2023
1 parent 0849f4d commit ed95449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/kyori/ansi/ColorLevel.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public enum ColorLevel {
*/
public abstract @NotNull String determineEscape(final int rgbColor);

private static String findClosestColorEscape(final int rgbColor, StandardColor[] potentialColors) {
private static String findClosestColorEscape(final int rgbColor, final StandardColor[] potentialColors) {
float matchedDistance = Float.MAX_VALUE;
StandardColor match = StandardColor.BLACK;
for (final StandardColor potential : potentialColors) {
Expand Down Expand Up @@ -273,7 +273,7 @@ private enum StandardColor {
static {
VALUES_INDEXED16 = StandardColor.values();

StandardColor[] indexed8 = new StandardColor[8];
final StandardColor[] indexed8 = new StandardColor[8];
System.arraycopy(StandardColor.values(), 0, indexed8, 0, 8);
VALUES_INDEXED8 = indexed8;
}
Expand Down

0 comments on commit ed95449

Please sign in to comment.