IDEA-78370

This commit is contained in:
Maxim Shafirov
2011-12-09 19:59:46 +04:00
parent 11d383c996
commit 56723c4b17
4 changed files with 14 additions and 0 deletions
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,8 @@
import org.jetbrains.annotations.Nullable;
public class NoWarnings {
int f(@Nullable String value) {
value = value == null ? "" : value;
return value.hashCode();
}
}