code style fixes
This commit is contained in:
parent
23a4a3530f
commit
19a29b8328
2 changed files with 1 additions and 5 deletions
|
|
@ -161,7 +161,7 @@ public class SuggestionsBar {
|
||||||
// "..." prefix
|
// "..." prefix
|
||||||
int startIndex = 0;
|
int startIndex = 0;
|
||||||
String[] prefixes = {STEM_VARIATION_PREFIX, STEM_PUNCTUATION_VARIATION_PREFIX, Characters.COMBINING_ZERO_BASE};
|
String[] prefixes = {STEM_VARIATION_PREFIX, STEM_PUNCTUATION_VARIATION_PREFIX, Characters.COMBINING_ZERO_BASE};
|
||||||
for (String prefix : prefixes) {
|
for (String prefix : prefixes) {
|
||||||
int prefixIndex = suggestion.indexOf(prefix) + 1;
|
int prefixIndex = suggestion.indexOf(prefix) + 1;
|
||||||
if (prefixIndex < endIndex) { // do not match the prefix chars when they are part of STEM_SUFFIX
|
if (prefixIndex < endIndex) { // do not match the prefix chars when they are part of STEM_SUFFIX
|
||||||
startIndex = Math.max(startIndex, prefixIndex);
|
startIndex = Math.max(startIndex, prefixIndex);
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,6 @@ public class SystemColor {
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
final public SystemColor toComplementary() {
|
|
||||||
return new SystemColor(0xFFFFFF - color);
|
|
||||||
}
|
|
||||||
|
|
||||||
final public String toCssColor() {
|
final public String toCssColor() {
|
||||||
return "color:" + toHex() + ";";
|
return "color:" + toHex() + ";";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue