For IntelliJ IDEA,
Android Studio or Eclipse



public List<String> toWarnings(final List<ImportStatus> importProfiles) { final ArrayList<String> warns = new ArrayList<>(); for (final ImportStatus importStatus : importProfiles) { for (final ImportError error : importStatus.getErrors()) { warns.add("Unable to find the " + error.getType().name().toLowerCase() + " " + error.getName() + " on " + importStatus.getName()); } } return warns; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (name == null ? 0 : name.hashCode()); result = prime * result + (type == null ? 0 : type.hashCode()); return result; }
public List<String> toWarnings(final List<ImportStatus> importProfiles) { final ArrayList<String> warns = new ArrayList<>(); for (final ImportStatus importStatus : importProfiles) { for (final ImportError error : importStatus.getErrors()) { warns.add("Unable to find the " + error.getType().name().toLowerCase() + " " + error.getName() + " on " + importStatus.getName()); } } return warns; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (name == null ? 0 : name.hashCode()); result = prime * result + (type == null ? 0 : type.hashCode()); return result; }