Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/CrossSectionArtifact.java @ 9464:c77255da734b
cross-section logs removed
author | gernotbelger |
---|---|
date | Thu, 30 Aug 2018 10:53:40 +0200 |
parents | da7b5f07303d |
children |
comparison
equal
deleted
inserted
replaced
9463:80800fe126cd | 9464:c77255da734b |
---|---|
122 // Find out if we are newest and become master if so. | 122 // Find out if we are newest and become master if so. |
123 final boolean isNewest = cs.shouldBeMaster(getParentKm()); | 123 final boolean isNewest = cs.shouldBeMaster(getParentKm()); |
124 final String newString = (isNewest) ? "1" : "0"; | 124 final String newString = (isNewest) ? "1" : "0"; |
125 addStringData(DATA_IS_NEWEST, newString); | 125 addStringData(DATA_IS_NEWEST, newString); |
126 addStringData(DATA_IS_MASTER, newString); | 126 addStringData(DATA_IS_MASTER, newString); |
127 final StringBuilder builder = new StringBuilder(); | 127 |
128 builder.append("CrossSectionArtifact line 128 cross_section_id = ").append(cs.getId()).append(" IS_START? : ").append(String.valueOf(isNewest)); | |
129 log.debug(builder.toString()); | |
130 if (!fs.isEmpty()) { | 128 if (!fs.isEmpty()) { |
131 addFacets(getCurrentStateId(), fs); | 129 addFacets(getCurrentStateId(), fs); |
132 } | 130 } |
133 } | 131 } |
134 | 132 |