blob: 9a2d48faa1af0cb1986e6b67ac12ae27cf38494f [file] [log] [blame]
package com.puppycrawl.tools.checkstyle.checks.coding.returncount;
class InputReturnCountVoid {
public InputReturnCountVoid() {
return;
}
public void method() {
if (true) {
return;
}
}
public void method2() {
if (true) {
return;
}
return;
}
public int method3() {
if (true) {
return 0;
}
return 0;
}
public int method4() {
if (true) {
return 0;
}
if (false) {
return 0;
}
return 0;
}
}