Skip to content

Commit

Permalink
Wip on alindo transform exception
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosjepard committed Aug 7, 2024
1 parent c1cce1d commit ea0556f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;

import com.databasepreservation.common.client.ObserverManager;
import com.databasepreservation.common.client.common.lists.widgets.BasicTablePanel;
Expand Down Expand Up @@ -133,7 +134,9 @@ private BasicTablePanel<ViewerTable> getBasicTablePanelForTableInfo(final Viewer
new BasicTablePanel.ColumnInfo<>(messages.schema_tableName(), false, 17, new TextColumn<ViewerTable>() {
@Override
public String getValue(ViewerTable table) {
if (ViewerStringUtils.isNotBlank(status.getTableStatusByTableId(table.getId()).getCustomName())) {
if (status.getTableStatusByTableId(table.getId()) == null) {
return "";
} else if (ViewerStringUtils.isNotBlank(status.getTableStatusByTableId(table.getId()).getCustomName())) {
return status.getTableStatusByTableId(table.getId()).getCustomName();
} else {
return status.getTableStatusByTableId(table.getId()).getName();
Expand All @@ -144,7 +147,9 @@ public String getValue(ViewerTable table) {
new BasicTablePanel.ColumnInfo<>(messages.description(), false, 35, new TextColumn<ViewerTable>() {
@Override
public String getValue(ViewerTable table) {
if (ViewerStringUtils.isNotBlank(status.getTableStatusByTableId(table.getId()).getCustomDescription())) {
if (status.getTableStatusByTableId(table.getId()) == null) {
return "";
} else if (ViewerStringUtils.isNotBlank(status.getTableStatusByTableId(table.getId()).getCustomDescription())) {
return status.getTableStatusByTableId(table.getId()).getCustomDescription();
} else {
return "";
Expand Down

0 comments on commit ea0556f

Please sign in to comment.