mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-22 14:31:25 +07:00
Java Type Migration: remove piece of unnecessary code (IJ-CR-107436)
GitOrigin-RevId: a9bfd787f4ba943cead715bde601a7dc5ea26328
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a35ce2f670
commit
361c110d24
@@ -95,11 +95,6 @@ public class ThreadLocalConversionRule extends TypeConversionRule {
|
||||
: (PsiExpression)context;
|
||||
return new TypeConversionDescriptor("$qualifier$", toPrimitive("$qualifier$.get()", from, context), expression);
|
||||
}
|
||||
else if (context instanceof PsiBinaryExpression binaryExpression) {
|
||||
final String sign = binaryExpression.getOperationSign().getText();
|
||||
return new TypeConversionDescriptor("$qualifier$" + sign + "$val$",
|
||||
toPrimitive("$qualifier$.get()", from, context) + " " + sign + " $val$");
|
||||
}
|
||||
if (parent instanceof PsiExpressionStatement) {
|
||||
if (context instanceof PsiPostfixExpression postfixExpression) {
|
||||
final String sign = postfixExpression.getOperationSign().getText();
|
||||
|
||||
Reference in New Issue
Block a user