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 |
/** |
/** |
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 |
|
|