builtinResults = builtinEngine.getResults();
}
}
- IPHPCompletionProposal[] sqlResults = new IPHPCompletionProposal[0];
+ ICompletionProposal[] sqlResults = new ICompletionProposal[0];
if (project != null) {
- sqlResults = getSQLProposals(viewer, project, context, prefix, sqlTable, sqlResults);
+ sqlResults = getSQLProposals(viewer, project, context, prefix, sqlTable);
}
// concatenate the result arrays
IPHPCompletionProposal[] total;
* @param sqlResults
* @return
*/
- private IPHPCompletionProposal[] getSQLProposals(ITextViewer viewer, IProject project, DocumentTemplateContext context,
- String prefix, TableName sqlTable, IPHPCompletionProposal[] sqlResults) {
+ private ICompletionProposal[] getSQLProposals(ITextViewer viewer, IProject project, DocumentTemplateContext context,
+ String prefix, TableName sqlTable) {
+ ICompletionProposal[] sqlResults = new ICompletionProposal[0];
// Get The Database bookmark from the Quantum SQL plugin:
BookmarkCollection sqlBookMarks = BookmarkCollection.getInstance();
if (sqlBookMarks != null) {