notnull, cleanup

This commit is contained in:
Alexey Kudravtsev
2012-11-09 14:59:20 +04:00
parent e4375b3c85
commit dbf4d7aa0a
17 changed files with 116 additions and 32 deletions
@@ -61,7 +61,7 @@ public class ArtifactChooser extends ElementsChooser<ArtifactPointer> {
}
@Override
protected Icon getItemIcon(ArtifactPointer value) {
protected Icon getItemIcon(@NotNull ArtifactPointer value) {
final Artifact artifact = value.getArtifact();
return artifact != null ? artifact.getArtifactType().getIcon() : null;
}