Skip to content

Commit

Permalink
netbeans caught a NullPointerException, so check for it
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfaden committed Feb 17, 2018
1 parent a98d41e commit ab1e53e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/netbeans/modules/nbexpose/ExposeTableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void propertyChange(PropertyChangeEvent e) {
update();
} else if (e.getPropertyName().equals("activated") && myTc.isOpened()) {
TopComponent tc = TopComponent.getRegistry().getActivated();
if ( tc==null ) return;
tc.putClientProperty(PROP_READ_FRESHNESS, new Date(System.currentTimeMillis()));
fireTableDataChanged();
}
Expand Down

0 comments on commit ab1e53e

Please sign in to comment.