Skip to content

Commit

Permalink
Remove unused method getBaseColor().
Browse files Browse the repository at this point in the history
  • Loading branch information
rengwuxian committed Jun 3, 2015
1 parent d003866 commit 346b6dc
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,4 @@ public static boolean isLight(int color) {
Color.green(color) * Color.green(color) * .691 +
Color.blue(color) * Color.blue(color) * .068) > 130;
}

public static int getBaseColor(int color) {
if (isLight(color)) {
return Color.BLACK;
}
return Color.WHITE;
}
}

0 comments on commit 346b6dc

Please sign in to comment.