/[schmitzm]/trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledFeatureCollectionTableModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 464 by alfonx, Tue Oct 13 13:22:31 2009 UTC revision 490 by alfonx, Fri Oct 23 12:35:59 2009 UTC
# Line 133  public class StyledFeatureCollectionTabl Line 133  public class StyledFeatureCollectionTabl
133                                  LOGGER.debug("Query contains the following attributes: "                                  LOGGER.debug("Query contains the following attributes: "
134                                                  + visibleAttrNames);                                                  + visibleAttrNames);
135    
136                                  query = new DefaultQuery(schema.getTypeName(), filter,  
137                                                  properties);                                  /**
138                                     * I got NPEs when properties contained only [the_geom] ?!??!!??
139                                     */
140                                    if (properties.length > 1) {
141                                            query = new DefaultQuery(schema.getTypeName(), filter,
142                                                            properties);
143                                    } else {
144                                            query = new DefaultQuery(schema.getTypeName(), filter);
145                                    }
146                          }                          }
147                          fc = fs.getFeatures(query);                          fc = fs.getFeatures(query);
148                  }                  }

Legend:
Removed from v.464  
changed lines
  Added in v.490

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26