summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java')
-rw-r--r--plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java
new file mode 100644
index 000000000000..14113e62e520
--- /dev/null
+++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/switchtoif/replace_if_with_switch/Long.java
@@ -0,0 +1,10 @@
+package com.siyeh.ipp.switchtoif.replace_if_with_switch;
+
+public class Long {
+ void x(long l) {
+ <caret>if (l == 1) {
+ } else if (l == 2) {
+ } else if (l == 3) {
+ } else if (l == 4) {}
+ }
+} \ No newline at end of file