Skip to content
Permalink
Browse files

Prevent ClassCastException

  • Loading branch information...
dsand47 committed Aug 5, 2019
1 parent 5fed8f5 commit 64d931fa9da1fac8a4ecaa71fabb54bc7d72a61f
Showing with 2 additions and 1 deletion.
  1. +2 −1 java/src/jmri/jmrit/beantable/SignalMastLogicTableAction.java
@@ -304,13 +304,14 @@ public String getColumnName(int col) {
case SOURCEAPPCOL:
case COMCOL:
case DESTAPPCOL:
case MAXSPEEDCOL:
return String.class;
case ENABLECOL:
return Boolean.class;
case EDITLOGICCOL:
case DELCOL:
return JButton.class;
case MAXSPEEDCOL:
return Float.class;
default:
return null;
}

0 comments on commit 64d931f

Please sign in to comment.
You can’t perform that action at this time.