Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixingsEventFacet.java @ 9648:c5a496bf1b0b
Fixed: Duplizieren einer Fixierungsanalyse schlägt fehl.
author | Gernot Belger <g.belger@bjoernsen.de> |
---|---|
date | Wed, 04 Dec 2019 16:10:28 +0100 |
parents | 9744ce3c3853 |
children |
comparison
equal
deleted
inserted
replaced
9647:bcaca2433f12 | 9648:c5a496bf1b0b |
---|---|
33 | 33 |
34 public FixingsEventFacet(final int facetIndex, final String name, final String description, final ComputeType type, final String hash, final String stateId, | 34 public FixingsEventFacet(final int facetIndex, final String name, final String description, final ComputeType type, final String hash, final String stateId, |
35 final DoubleRange stationRange) { | 35 final DoubleRange stationRange) { |
36 super(facetIndex, name, description, type, hash, stateId); | 36 super(facetIndex, name, description, type, hash, stateId); |
37 | 37 |
38 if (stationRange == null) { | |
39 System.out.println("break"); | |
40 } | |
41 | |
38 this.stationRange = stationRange; | 42 this.stationRange = stationRange; |
39 } | 43 } |
40 | 44 |
41 @Override | 45 @Override |
42 public Node toXML(final Document doc) { | 46 public Node toXML(final Document doc) { |
53 public void set(final Facet other) { | 57 public void set(final Facet other) { |
54 super.set(other); | 58 super.set(other); |
55 | 59 |
56 final FixingsEventFacet o = (FixingsEventFacet) other; | 60 final FixingsEventFacet o = (FixingsEventFacet) other; |
57 // DoubleRange is immutable, so we can copy the reference here | 61 // DoubleRange is immutable, so we can copy the reference here |
58 o.stationRange = this.stationRange; | 62 this.stationRange = o.stationRange; |
59 } | 63 } |
60 } | 64 } |