Skip to content

Commit

Permalink
GHI-#9 Adapt Arctic Ice Studio Java code style for COLOR constant
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Dec 3, 2016
1 parent f241e8d commit 354e14f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
15 changes: 1 addition & 14 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/main/java/com/arcticicestudio/nord/Nord.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public enum Nord {
/**
* Contains the RGB color code.
*/
private final Color COLOR;
private final Color color;

/**
* Constructs a new color object.
Expand All @@ -189,7 +189,7 @@ public enum Nord {
* @param blue the value for the additive primary color {@code blue}
*/
Nord(final int red, final int green, final int blue) {
COLOR = Color.rgb(red, green, blue);
color = Color.rgb(red, green, blue);
}

/**
Expand Down Expand Up @@ -227,7 +227,7 @@ public static String rgb(final Color color) {
* @return the color object
*/
public Color get() {
return COLOR;
return color;
}

/**
Expand Down

0 comments on commit 354e14f

Please sign in to comment.