Warnings fixed (mostly redundant cast)

GitOrigin-RevId: 63bdb7f359a1a2cd37cb6a691b3d94db8ba3ce02
This commit is contained in:
Tagir Valeev
2024-10-11 08:10:27 +00:00
committed by intellij-monorepo-bot
parent 8719731a84
commit feb2ee9625
17 changed files with 41 additions and 47 deletions
@@ -74,7 +74,7 @@ public final class BasicJavaParserUtil {
@Nullable
public static IElementType exprType(@Nullable final PsiBuilder.Marker marker) {
return marker != null ? ((LighterASTNode)marker).getTokenType() : null;
return marker != null ? marker.getTokenType() : null;
}
// used instead of PsiBuilder.error() as it keeps all subsequent error messages