Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
duplicateBranchesInSwitchFix
/
afterLeftoverComments.java
blob: 8eb3113242b3e593f17c16290daa3beb3a2f397c [
file
]
// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING"
class
C
{
String
foo
(
int
n
)
{
switch
(
n
)
{
case
1
:
case
2
:
foo
();
// same comment
return
"A"
;
// another comment
}
return
""
;
}
void
foo
(){}
}