Commit a42f6690 authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

Fix Issue #45 output files not highlighted correctly

The Topography contains copies of attributes in a HashSet which will
create inconsistent string representation when serialized. Exclude this
HashSet from serialization.
parent 3aa50c81
package org.vadere.state.scenario;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RectangularShape;
import java.util.Collection;
......@@ -22,6 +23,7 @@ import org.vadere.util.geometry.LinkedCellsGrid;
import org.vadere.util.geometry.shapes.VPoint;
import org.vadere.util.geometry.shapes.VShape;
@JsonIgnoreProperties(value = {"allOtherAttributes"})
public class Topography {
/** Transient to prevent JSON serialization. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment