summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java')
-rw-r--r--plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java
new file mode 100644
index 000000000000..3922f442af44
--- /dev/null
+++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Comments_after.java
@@ -0,0 +1,16 @@
+class Comments {
+
+ String foo(int par) {
+ switch (par) {
+ case 11:
+ return "ciao";/* case 1 bla bla */
+ case 14:
+ return "fourteen";//case 2 bla bla
+ case 15:
+ return "fifteen"; //case 3 chchah
+ default:
+ return "default";
+ }
+
+ }
+} \ No newline at end of file