mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull, cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user