use //$NON-NLS-1$
This commit is contained in:
parent
487e9c42ea
commit
4f45d6804a
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ public class ColorDialogs {
|
|||
|
||||
public static String colorToString(int color) {
|
||||
if ((0xFF000000 & color) == 0xFF000000) {
|
||||
private final static String ZEROES = "000000";
|
||||
String c = Integer.toHexString(color & 0x00FFFFFF);
|
||||
private final static String ZEROES = "000000"; //$NON-NLS-1$
|
||||
String c = Integer.toHexString(color & 0x00FFFFFF); //$NON-NLS-1$
|
||||
return "#" + c.length() <= 6 ? ZEROES.substring(c.length()) + c : c; //$NON-NLS-1$
|
||||
} else {
|
||||
return "#" + Integer.toHexString(color); //$NON-NLS-1$
|
||||
|
|
Loading…
Reference in a new issue