/[xulu]
ViewVC logotype

Revision 23


Jump to revision: Previous Next
Author: alfonx
Date: Sat Mar 28 16:42:16 2009 UTC (15 years, 8 months ago)
Changed paths: 1
Log Message:
The old code must have been a mistake, because it would have led to a NullPointerException. Eclipse showed me these...

Old:
    if ( sfc != null || sfc.getFeatureCollection().size() > 0 ) {
      FeatureCollection fc = sfc.getFeatureCollection();

New:
    if ( sfc != null && sfc.getFeatureCollection().size() > 0 ) {
      FeatureCollection fc = sfc.getFeatureCollection();


Changed paths

Path Details
Directorytrunk/src/edu/bonn/xulu/plugin/model/ca/reservoir/SmallReservoirModelContentManager.java modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26