[autocomplete] 56/143: Minor changes.
Benjamin Mesing
ben at alioth.debian.org
Sat Oct 19 12:53:17 UTC 2013
This is an automated email from the git hooks/post-receive script.
ben pushed a commit to branch master
in repository autocomplete.
commit 598f7bd6669b905092e36dbf3f881b506a1423a7
Author: bobbylight <robert at fifesoft.com>
Date: Tue Dec 7 03:39:01 2010 +0000
Minor changes.
---
src/org/fife/ui/autocomplete/AbstractCompletionProvider.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/org/fife/ui/autocomplete/AbstractCompletionProvider.java b/src/org/fife/ui/autocomplete/AbstractCompletionProvider.java
index 18bf46f..02144c1 100644
--- a/src/org/fife/ui/autocomplete/AbstractCompletionProvider.java
+++ b/src/org/fife/ui/autocomplete/AbstractCompletionProvider.java
@@ -273,7 +273,9 @@ public abstract class AbstractCompletionProvider
public int compare(Object o1, Object o2) {
Completion c = (Completion)o1;
- return String.CASE_INSENSITIVE_ORDER.compare(c.getInputText(), o2);
+ // o2.toString() needed to help compile with 1.5+.
+ return String.CASE_INSENSITIVE_ORDER.compare(
+ c.getInputText(), o2.toString());
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git
More information about the pkg-java-commits
mailing list