Revision: 5834 http://sourceforge.net/p/jump-pilot/code/5834 Author: michaudm Date: 2018-06-04 17:25:25 +0000 (Mon, 04 Jun 2018) Log Message: ----------- Can safely use else if...
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java 2018-06-04 16:33:24 UTC (rev 5833) +++ core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTablePanel.java 2018-06-04 17:25:25 UTC (rev 5834) @@ -500,7 +500,7 @@ updateGrid(model.getLayer()); repaint(); } - if (e.getType() == LayerEventType.REMOVED) { + else if (e.getType() == LayerEventType.REMOVED) { e.getLayerable().getLayerManager().removeLayerListener(this); } } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel