|
From: Christopher W. <caw...@us...> - 2006-05-12 22:01:26
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5522/src/org/rubypeople/rdt/internal/ui/text/ruby Modified Files: RubyCompletionProcessor.java Log Message: fix ticket #125 Index: RubyCompletionProcessor.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/RubyCompletionProcessor.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** RubyCompletionProcessor.java 24 Feb 2006 02:02:20 -0000 1.18 --- RubyCompletionProcessor.java 12 May 2006 22:01:23 -0000 1.19 *************** *** 248,253 **** IRubyCompletionProposal[] keyWordResults = getKeywordProposals(documentOffset); if (keyWordResults.length > 0) { - List removals = new ArrayList(); - // update relevance of template proposals that match with a // keyword --- 248,251 ---- *************** *** 270,279 **** } } ! if (isKeyword(name)) ! removals.add(curr); } } - - result.removeAll(removals); } return result; --- 268,274 ---- } } ! } } } return result; |