aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2018-01-27 17:00:40 -0800
committerAurimas Liutikas <aurimas@google.com>2018-01-27 17:01:41 -0800
commit0d3be72607b72301b708dca56e3afc3299fd2126 (patch)
treee58fd83708211220003af021e3345f001413cc48 /src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java
parentb4aec831a096b89efed151c9b2c5754d9491e6ea (diff)
parent5f62e6406680bb91ef505b9a1932e398bf42532d (diff)
downloadcheckstyle-master.tar.gz
Merge Checkstyle 8.7 into aosp/masterHEADmastermain
Merged commit 5f62e6406680bb91ef505b9a1932e398bf42532d Test: None
Diffstat (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java')
-rw-r--r--src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java
index 9a2d48faa..a1beceeae 100644
--- a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java
+++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/returncount/InputReturnCountVoid.java
@@ -37,4 +37,12 @@ class InputReturnCountVoid {
return 0;
}
+
+ void method5() {
+ if (true) {
+ return;
+ }
+
+ return;
+ }
}