Skip to content
Snippets Groups Projects
Commit 0b159929 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Reintroduced the setKeys method to avoid Jackson/ObjectMapper being confused

parent c2bdc550
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ public interface Result extends Comparable{
public Geometry getValidGeometry();
/* The result parameters in this Result object */
public void setKeys(Set<String> keys); // Don't remove this! It's here to trick Jackson/Objectmapper!
public Set<String> getKeys();
/* Setting and getting values */
......
......@@ -48,6 +48,12 @@ public class ResultImpl implements Result{
public Date getValidTimeStart() {
return this.validTimeStart;
}
@Override
public void setKeys(Set<String> keys) {
// Don't remove this!
// This is just here to trick Jackson/Objectmapper!
}
@Override
public Set<String> getKeys() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment