IDEA-155369 double boolean of method return type

This commit is contained in:
peter
2016-04-29 22:56:17 +02:00
parent 2545fe69d9
commit 0e46fda6b8
5 changed files with 46 additions and 26 deletions
@@ -0,0 +1,5 @@
class Foo {
b<caret> foo() {
return true;
}
}
@@ -660,6 +660,11 @@ public class ListUtils {
public void testInnerEnumConstant() throws Throwable { doTest('\n'); }
public void testNoExpectedReturnTypeDuplication() {
configure()
assert myFixture.lookupElementStrings == ['boolean', 'byte']
}
public void testMethodReturnType() throws Throwable {
doTest();
}
@@ -950,7 +955,7 @@ public class ListUtils {
public void testTabReplacesMethodNameWithLocalVariableName() throws Throwable { doTest('\t'); }
public void testMethodParameterAnnotationClass() throws Throwable { doTest(); }
public void testInnerAnnotation() { doTest('\n'); }
public void testPrimitiveCastOverwrite() throws Throwable { doTest '\t' }
public void testPrimitiveCastOverwrite() throws Throwable { doTest() }
public void testClassReferenceInFor() throws Throwable { doTest ' ' }
public void testClassReferenceInFor2() throws Throwable { doTest ' ' }
public void testClassReferenceInFor3() throws Throwable {