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

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

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

revision 694 by alfonx, Fri Feb 12 11:28:41 2010 UTC revision 714 by alfonx, Sun Feb 21 19:17:34 2010 UTC
# Line 951  public class StyledLayerUtil { Line 951  public class StyledLayerUtil {
951                          for (final Rule rule : rules) {                          for (final Rule rule : rules) {
952    
953                                  // Check if this RULE shall actually appear in the legend                                  // Check if this RULE shall actually appear in the legend
954                                  if (rule.getName().endsWith(HIDE_IN_LAYER_LEGEND_HINT))                                  if (rule.getName() != null && rule.getName().endsWith(HIDE_IN_LAYER_LEGEND_HINT))
955                                          continue;                                          continue;
956    
957                                  /**                                  /**
# Line 1241  public class StyledLayerUtil { Line 1241  public class StyledLayerUtil {
1241           */           */
1242          public static void checkAttribMetaData(          public static void checkAttribMetaData(
1243                          AttributeMetadataMap attributeMetaDataMap, SimpleFeatureType schema) {                          AttributeMetadataMap attributeMetaDataMap, SimpleFeatureType schema) {
1244                    
1245                    if (schema == null) throw new IllegalArgumentException("schmema may not be null!");
1246    
1247                  ArrayList<Name> willRemove = new ArrayList<Name>();                  ArrayList<Name> willRemove = new ArrayList<Name>();
1248    

Legend:
Removed from v.694  
changed lines
  Added in v.714

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26