aliasList.add(trimmed);
}
}
// Collections.emptySet() and Collections.emptyList() don't serialize properly.
PlayerContentItem player = new PlayerContentItem(null, new Date(), new HashSet<Long>(),
bioArea.getText(), Importance.MEDIUM, nameBox.getText(), aliasList,
typeSelector.getSelectedConstant(), photo);
// Kinda broken, but this isn't done automatically:
player.setLocation(new Location(null, null, ""));
player.setPublishState(PublishState.PUBLISHED);
problemLabel.setVisible(false);
contentService.createOrChangeContentItem(player, new AsyncCallback<BaseContentItem>() {
@Override
public void onFailure(Throwable caught) {
problemLabel.setVisible(true);