Skip to content

Commit

Permalink
[GEOS-8034] Fix ysld color conversion master (geotools#1649)
Browse files Browse the repository at this point in the history
* [GEOS-8034] Fixed ysld color conversion

* Revert "[GEOS-8034] Fixed ysld color conversion"

This reverts commit 8adae77.

* fixed ysdl encoder to allow for Color objects

* incorporate requested changes

Added TODOs to determine where exceptions need to be changed
  • Loading branch information
hwbllmnn authored and johngschulz committed Nov 17, 2017
1 parent c9c2af5 commit cf344d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -450,7 +450,7 @@ public StyledLayerDescriptor transform() {
}
}
}

// TODO determine if the below exception needs to be changed here.
if (sld.layers().isEmpty()) {
throw new MBFormatException("No visibile layers");
}
Expand Down
Expand Up @@ -193,7 +193,7 @@ public long getStop(MBLayer layer) {

LayerStops containsStops(JSONObject jsonObject, LayerStops ls) {
Boolean hasStops = false;

// TODO determine if a stop that needs the "property" key has it, and throw an appropriate exception if not.
Set<?> keySet = jsonObject.keySet();
Iterator<?> keys = keySet.iterator();
while (keys.hasNext()) {
Expand Down

0 comments on commit cf344d6

Please sign in to comment.