mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unnecessary condition
This commit is contained in:
+1
-1
@@ -1064,7 +1064,7 @@ public class JavaCodeStyleManagerImpl extends JavaCodeStyleManager {
|
||||
public static boolean isStringPsiLiteral(PsiElement element) {
|
||||
if (element instanceof PsiLiteralExpression) {
|
||||
final String text = element.getText();
|
||||
return text.length() > 1 && StringUtil.isQuotedString(text);
|
||||
return StringUtil.isQuotedString(text);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user