remove unnecessary condition

This commit is contained in:
Bas Leijdekkers
2014-08-12 12:17:58 +02:00
parent a05a0495e1
commit c6fe0a4d6d
@@ -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;
}