From 7b6948126ea162729e1bd9433a38e3146cf67b39 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Wed, 3 Jul 2024 10:49:06 -0400 Subject: [PATCH] Revert "Enable field search (#96)" This reverts commit 223e4a24cd85961932d28c482d256d75ff45358a. --- .../tackle/core/internal/SampleDelegateCommandHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/SampleDelegateCommandHandler.java b/java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/SampleDelegateCommandHandler.java index 996ec03..9a7a055 100644 --- a/java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/SampleDelegateCommandHandler.java +++ b/java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/SampleDelegateCommandHandler.java @@ -142,8 +142,6 @@ private static SearchPattern getPatternSingleQuery(int location, String query) t return SearchPattern.createPattern(query, IJavaSearchConstants.CONSTRUCTOR, IJavaSearchConstants.ALL_OCCURRENCES, pattern); case 11: return SearchPattern.createPattern(query, IJavaSearchConstants.PACKAGE, IJavaSearchConstants.ALL_OCCURRENCES, pattern); - case 12: - return SearchPattern.createPattern(query, IJavaSearchConstants.TYPE, IJavaSearchConstants.FIELD_DECLARATION_TYPE_REFERENCE, pattern); } throw new Exception("unable to create search pattern"); }