Skip to content

Commit

Permalink
Remove dead code from a Qute CodeAction
Browse files Browse the repository at this point in the history
Fixes #766

Signed-off-by: David Thompson <[email protected]>
  • Loading branch information
datho7561 authored and angelozerr committed Jan 13, 2023
1 parent 0ab16fd commit 1600156
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,17 +513,6 @@ private static CompilationUnit createQuickFixAST(IType javaType) {
return ASTResolving.createQuickFixAST((ICompilationUnit) javaType.getCompilationUnit(), null);
}

private static IJavaSearchScope createSearchContext(IJavaProject project) throws JavaModelException {
int searchScope = IJavaSearchScope.SOURCES;
return SearchEngine.createJavaSearchScope(true, new IJavaElement[] { project }, searchScope);
}

private static SearchPattern createTemplateExtensionSearchPattern() {
return SearchPattern.createPattern(QuteJavaConstants.TEMPLATE_EXTENSION_ANNOTATION,
IJavaSearchConstants.ANNOTATION_TYPE, IJavaSearchConstants.ANNOTATION_TYPE_REFERENCE,
SearchPattern.R_EXACT_MATCH);
}

private static IJavaProject getJavaProjectFromProjectUri(String projectName) {
if (projectName == null) {
return null;
Expand Down

0 comments on commit 1600156

Please sign in to comment.