# HG changeset patch # User gernotbelger # Date 1535619220 -7200 # Node ID c77255da734bf1756584e073e2c97a955dcaaf78 # Parent 80800fe126cdcad0b071ec902827238b04b254e4 cross-section logs removed diff -r 80800fe126cd -r c77255da734b artifacts/src/main/java/org/dive4elements/river/artifacts/CrossSectionArtifact.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/CrossSectionArtifact.java Wed Aug 29 18:34:10 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/CrossSectionArtifact.java Thu Aug 30 10:53:40 2018 +0200 @@ -124,9 +124,7 @@ final String newString = (isNewest) ? "1" : "0"; addStringData(DATA_IS_NEWEST, newString); addStringData(DATA_IS_MASTER, newString); - final StringBuilder builder = new StringBuilder(); - builder.append("CrossSectionArtifact line 128 cross_section_id = ").append(cs.getId()).append(" IS_START? : ").append(String.valueOf(isNewest)); - log.debug(builder.toString()); + if (!fs.isEmpty()) { addFacets(getCurrentStateId(), fs); } diff -r 80800fe126cd -r c77255da734b backend/src/main/java/org/dive4elements/river/model/CrossSection.java --- a/backend/src/main/java/org/dive4elements/river/model/CrossSection.java Wed Aug 29 18:34:10 2018 +0200 +++ b/backend/src/main/java/org/dive4elements/river/model/CrossSection.java Thu Aug 30 10:53:40 2018 +0200 @@ -195,14 +195,8 @@ final List results = sqlQuery.list(); if (results.size() >= 1) { - final String resultIds = results.toArray().toString(); - final StringBuilder builder = new StringBuilder(); - builder.append("CrossSection line 243 ID = ").append(getId()).append(", Result SIZE = ").append(results.size()).append(", Result_Ids = ") - .append(resultIds); - log.debug(builder.toString()); - final Integer result = results.get(0); - if (result.equals(getId())) { + if (result.equals(getId())) { // NIEMALS OBJEKTE MIT "==" VERGLEICHEN! return true; } } else {