[java-highlighting] Minor fixes in switch statement highlighting

Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 2924ae6c9984caa6e8a45f640c4de54e02134ad3
This commit is contained in:
Tagir Valeev
2025-02-19 14:57:00 +00:00
committed by intellij-monorepo-bot
parent ae7957d3c7
commit f8b210a481
4 changed files with 31 additions and 3 deletions
@@ -173,7 +173,7 @@ public final class JavaPsiSwitchUtil {
SelectorKind(@Nullable JavaFeature feature) { myFeature = feature; }
/**
* @return java feature required for this selector kind; null if it's always available
* @return java feature required for this selector kind; null if it's always available or non-applicable
*/
public @Nullable JavaFeature getFeature() {
return myFeature;