fix completion tests

This commit is contained in:
peter
2011-10-14 15:26:11 +02:00
parent ff47b749b2
commit 81eb7079c9
@@ -783,7 +783,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
final String prefix = itemPattern(item);
final int length = prefix.length();
if (length == 0) return lookupString;
if (length == 0 || !StringUtil.startsWithIgnoreCase(lookupString, prefix)) return lookupString;
boolean isAllLower = true;
boolean isAllUpper = true;
boolean sameCase = true;