diff options
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/equality/replace_equality_with_safe_equals/NullComparison.java')
-rw-r--r-- | plugins/IntentionPowerPak/test/com/siyeh/ipp/equality/replace_equality_with_safe_equals/NullComparison.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/equality/replace_equality_with_safe_equals/NullComparison.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/equality/replace_equality_with_safe_equals/NullComparison.java new file mode 100644 index 000000000000..10aeb19f6fed --- /dev/null +++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/equality/replace_equality_with_safe_equals/NullComparison.java @@ -0,0 +1,8 @@ +package com.siyeh.ipp.equality.replace_equality_with_safe_equals; + +public class NullComparison { + + boolean a(Object a) { + return a ==<caret> null; + } +}
\ No newline at end of file |