Source:
<code>private void initTableColumns() { Column<EntityModel, String> nameColumn = new Column<EntityModel, String>(new TextInputCell()) { @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getName(); } }; hostsTable.addColumn(nameColumn, constants.nameHost(), "50px"); nameColumn.setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setName(value)); Column<EntityModel, String> addressColumn = <START> new Column<EntityModel, String>(new TextInputCell()) { <END> @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getAddress(); } }; hostsTable.addColumn(addressColumn, constants.ipHost(), "100px"); addressColumn .setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setAddress(value)); Column<EntityModel, String> passwordColumn = new Column<EntityModel, String>(new PasswordTextInputCell()) { @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getPassword(); } }; hostsTable.addColumn(passwordColumn, constants.hostPopupPasswordLabel(), "100px"); passwordColumn.setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setPassword(value)); hostsTable.addColumn(new AbstractEntityModelTextColumn<HostDetailModel>() { @Override public String getText(HostDetailModel hostModel) { return hostModel.getFingerprint(); } }, constants.hostsPopupFingerprint(), "300px"); }</code><technical_language>import hosts, addresses auto-populated gluster addresses (backend network). want user is provide frontend network address in case is different. first, labels in this patch change reflect that. Second, in backend code - hosts added, a check if of interfaces returned for hosts match backend network host</technical_language>

Target:
private void initTableColumns() { Column<EntityModel, String> nameColumn = new Column<EntityModel, String>(new TextInputCell()) { @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getName(); } }; hostsTable.addColumn(nameColumn, constants.nameHost(), "80px"); nameColumn.setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setName(value)); Column<EntityModel, String> addressColumn = new Column<EntityModel, String>(new TextInputCell()) { @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getAddress(); } }; hostsTable.addColumn(addressColumn, constants.ipHostImportCluster(), "180px"); addressColumn .setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setAddress(value)); Column<EntityModel, String> passwordColumn = new Column<EntityModel, String>(new PasswordTextInputCell()) { @Override public String getValue(EntityModel object) { return ((HostDetailModel) object.getEntity()).getPassword(); } }; hostsTable.addColumn(passwordColumn, constants.hostPopupPasswordLabel(), "100px"); passwordColumn.setFieldUpdater((index, object, value) -> ((HostDetailModel) object.getEntity()).setPassword(value)); hostsTable.addColumn(new AbstractEntityModelTextColumn<HostDetailModel>() { @Override public String getText(HostDetailModel hostModel) { return hostModel.getFingerprint(); } }, constants.hostsPopupFingerprint(), "300px"); }